51 lines
707 B
C++
51 lines
707 B
C++
#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();
|
||
}
|
||
|