![]() |
SAGE
A Simple Academic Game Engine
|
The window descriptor. More...
#include <SageWindowDesc.h>

Static Protected Attributes | |
| static HWND | m_Hwnd = 0 |
| Window handle. | |
| static HINSTANCE | m_hInst = 0 |
| Instance handle. | |
| static bool | m_bExitSizeMove = true |
| User just finished moving/resizing window. | |
CWindowDesc is a singleton class containing the game's instance handle and the window handle to the primary (in fact the only) window created by this application. Making it a singleton class means that we can avoid passing its member variables around as parameters, which makes the code minisculely faster, and more importantly, reduces function clutter.
|
staticprotected |
Just finished moving/resizing window.