|
HDK
|
#include <SimpleWindow.h>
Public Member Functions | |
| virtual | ~SimpleWindow () |
| Default destructor. More... | |
| bool | initialize (const char *title, unsigned int width, unsigned int height, void *applicationShell) |
| Window initialization. More... | |
| WindowWrapperPtr | getWindowWrapper () |
| Return our platform-specific resource wrapper. More... | |
| unsigned int | width () const |
| Return width of window. More... | |
| unsigned int | height () const |
| Return height of window. More... | |
| bool | isValid () const |
| Check for validity. More... | |
Static Public Member Functions | |
| static SimpleWindowPtr | create () |
| Static instance create function. More... | |
Protected Member Functions | |
| SimpleWindow () | |
Protected Attributes | |
| WindowWrapperPtr | _windowWrapper |
| unsigned int | _width |
| unsigned int | _height |
| unsigned int | _id |
A platform-independent window class.
Plaform-specific resources are encapsulated by a WindowWrapper instance.
Definition at line 23 of file SimpleWindow.h.
|
virtual |
Default destructor.
|
protected |
|
inlinestatic |
Static instance create function.
Definition at line 27 of file SimpleWindow.h.
|
inline |
Return our platform-specific resource wrapper.
Definition at line 36 of file SimpleWindow.h.
|
inline |
Return height of window.
Definition at line 48 of file SimpleWindow.h.
| bool SimpleWindow::initialize | ( | const char * | title, |
| unsigned int | width, | ||
| unsigned int | height, | ||
| void * | applicationShell | ||
| ) |
Window initialization.
|
inline |
Check for validity.
Definition at line 54 of file SimpleWindow.h.
|
inline |
Return width of window.
Definition at line 42 of file SimpleWindow.h.
|
protected |
Definition at line 68 of file SimpleWindow.h.
|
protected |
Definition at line 71 of file SimpleWindow.h.
|
protected |
Definition at line 67 of file SimpleWindow.h.
|
protected |
Definition at line 64 of file SimpleWindow.h.