
Public Types | |
| enum | DrawMode { set, add, sub } |
Public Member Functions | |
| Window (unsigned width, unsigned height, unsigned bitsPerPixel=24, bool fullScreen=false, bool openGlSupport=false, KeyboardHandler *=0, MouseHandler *=0, WindowHandler *=0) | |
| Arguments 'width', 'height', 'bitsPerPixel', 'fullScreen' are treated as desired values. | |
| ~Window () | |
| Ref< MouseCursor > | newMouseCursor (const char *image[]) |
| void | setMouseCursor (Ref< MouseCursor >) |
| void | setDefaultMouseCursor () |
| void | showMouseCursor () |
| void | hideMouseCursor () |
| int | getMouseX () const |
| int | getMouseY () const |
| void | swapBuffers () |
| void | discardEventQueue () |
| void | executeEventQueue (unsigned long milliSecondTime) |
| unsigned | getWidth () const |
| unsigned | getHeight () const |
| void | setDrawMode (DrawMode mode) |
| void | setColor (unsigned red, unsigned green, unsigned blue, unsigned alpha=255) |
Classes | |
| struct | KeyboardHandler |
| class | MouseCursor |
| struct | MouseHandler |
| struct | Update |
| struct | WindowHandler |
Definition at line 35 of file window.H.
|
||||||||||||||||||||||||||||||||||||
|
Arguments 'width', 'height', 'bitsPerPixel', 'fullScreen' are treated as desired values. What you get might be different. Pass 0 in place of a handler if you do not want to react on that kind of events. Definition at line 85 of file window.C. References executeEventQueue(). |
1.4.4