|
Public Member Functions |
| Window (WindowsWindowParams *params, IEventManager *manager) |
| ~Window () |
bool | Init (int width, int height, int bitsPerPixel, int bufferBits, char *name, bool fullScreen) |
bool | InitFullScreen (char *name) |
void | Show () |
void | Hide () |
bool | IsVisible () |
void | SwitchToFullScreen () |
void | SwitchToWindowed () |
bool | IsFullScreen () |
bool | IsSwitching () |
void | SetWindowTitle (char *newTitle) |
char * | GetWindowTitle () |
void | MainLoop () |
void | Stop () |
UserInterface * | GetUI () |
void | SetUI (UserInterface *ui) |
Private Member Functions |
void | Destroy (bool keepGLRC) |
LRESULT | OnReceiveMessage (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) |
Private Attributes |
bool | m_isWindowVisible |
bool | m_isFullScreen |
bool | m_isSwitching |
char * | m_WindowTitle |
int | m_devMode |
int | m_Width |
int | m_Height |
int | m_BitsPerPixel |
int | m_BufferBits |
WindowsWindowParams * | m_WindowParams |
IEventManager * | m_EventManager |
UserInterface * | m_UserInterface |
LPARAM | m_MouseLParam |
WPARAM | m_MouseWParam |
HWND | m_hWnd |
HDC | m_hDeviceContext |
HGLRC | m_hRenderContext |
MouseInformations | m_MouseInfo |
Static Private Attributes |
static bool | s_WindowRegistered |
Friends |
LRESULT CALLBACK | MainProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) |