#include <Window.h>
Public Methods | |
| Window () | |
| Constructor. | |
| ~Window () | |
| Destructor. | |
| void | registerClass (HINSTANCE hInst, const char *ATitle) |
| Registers the class with Windows. | |
| BOOL | initInstance (HINSTANCE hInst, int nCmdShow, const char *ATitle, const char *WTitle) |
| Initializes the window. | |
| const HWND & | getHwnd () const |
| Returns a reference to hWnd. | |
| const HINSTANCE & | get_hInstance () const |
| Returns a refrence to hInstance. | |
| void | setWindowed (BOOL newWindowed) |
| Set whether window is in windowed mode or not. | |
| BOOL | getWindowed () const |
| Returns TRUE if the window is in windowed mode. | |
| bool | toggleWindowed () |
| If the Window is in windowed mode, go to fullscreen, else go back to windowed mode. | |
|
|
Constructor. Authors: Jim Clase, Jonathan Hilliker, Jason Winnebeck |
|
|
Destructor.
|
|
|
Returns a refrence to hInstance.
|
|
|
Returns a reference to hWnd.
|
|
|
Returns TRUE if the window is in windowed mode.
|
|
||||||||||||||||||||
|
Initializes the window.
|
|
||||||||||||
|
Registers the class with Windows.
|
|
|
Set whether window is in windowed mode or not.
|
|
|
If the Window is in windowed mode, go to fullscreen, else go back to windowed mode.
|
1.2.18