Initial
This commit is contained in:
51
mdiwin/VIEW.IPP
Normal file
51
mdiwin/VIEW.IPP
Normal file
@@ -0,0 +1,51 @@
|
||||
#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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user