Public Methods |
| Window () |
virtual | ~Window () |
void | setWindowOrigin (int x, int y) |
void | setWindowSize (int width, int height) |
void | setWindowTitle (const std::string &title) |
void | setDisplayMode (unsigned int displayMode) |
virtual bool | open () |
virtual bool | run () |
virtual void | display () |
Protected Methods |
virtual void | clear () |
virtual void | reshape (GLint w, GLint h) |
virtual void | visibility (int state) |
virtual void | mouseMotion (int x, int y) |
virtual void | mousePassiveMotion (int x, int y) |
virtual void | mouse (int button, int state, int x, int y) |
virtual void | keyboard (unsigned char key, int x, int y) |
virtual void | special (int key, int x, int y) |
virtual void | spaceballMotion (int x, int y, int z) |
virtual void | spaceballRotate (int x, int y, int z) |
virtual void | spaceballButton (int button, int state) |
void | check_if_exit () |
Static Protected Methods |
void | displayCB () |
void | reshapeCB (int w, int h) |
void | visibilityCB (int state) |
void | mouseMotionCB (int x, int y) |
void | mousePassiveMotionCB (int x, int y) |
void | mouseCB (int button, int state, int x, int y) |
void | keyboardCB (unsigned char key, int x, int y) |
void | specialCB (int key, int x, int y) |
void | spaceballMotionCB (int x, int y, int z) |
void | spaceballRotateCB (int x, int y, int z) |
void | spaceballButtonCB (int button, int state) |
Protected Attributes |
std::string | _title |
int | _wx |
int | _wy |
int | _ww |
int | _wh |
unsigned int | _displayMode |
int | _is_open |
int | _mx |
int | _my |
int | _mbutton |
bool | _fullscreen |
int | _saved_wx |
int | _saved_wy |
int | _saved_ww |
int | _saved_wh |
bool | _exit |
Static Protected Attributes |
Window * | s_theWindow |