Files
Work/mdiwin/VIEW.IPP
2024-08-07 09:16:27 -04:00

51 lines
707 B
C++
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#ifndef _VIEW_HPP_
#error VIEW.HPP must precede VIEW.IPP
#endif
inline
char far *ViewWindow::className(void)
{
return szClassName;
}
inline
int ViewWindow::operator==(const ViewWindow &someViewWindow)const
{
return (GetHandle()==someViewWindow.GetHandle());
}
inline
WORD ViewWindow::isDestroyed(void)const
{
return mIsDestroyed;
}
inline
HWND ViewWindow::handle(void)const
{
return GetHandle();
}
inline
WORD ViewWindow::hasMesh(void)const
{
return (mlpGridMesh?TRUE:FALSE);
}
inline
WORD ViewWindow::width(void)const
{
return mWidth;
}
inline
WORD ViewWindow::height(void)const
{
return mHeight;
}
inline
void ViewWindow::showMesh(void)const
{
if(mlpGridMesh)mlpGridMesh->showWindow();
}