#include <freecloth/gfx/gfxGLWindowGLUT.h>
Inheritance diagram for GfxGLWindowGLUT:


Public Types | |
| typedef GfxGLWindow | BaseClass |
Public Methods | |
| GfxGLWindowGLUT (const GfxConfig &, const String &title) | |
| ~GfxGLWindowGLUT () | |
| void | enableIdleEvents (bool) |
| void | close () |
| void | eventLoop () |
| Run events, forever. | |
| void | handleEvents () |
| Can't be implemented using GLUT... | |
| UInt32 | getWidth () const |
| UInt32 | getHeight () const |
| void | swapBuffers () |
| void | postRedisplay () |
Protected Methods | |
| virtual void | registerIdleCB () |
| Virtual, to allow GLUI to override. | |
| virtual void | unregisterIdleCB () |
| virtual void | registerCBs () |
| virtual void | closeReceived () |
| See base. | |
| void | handleMiscEvents () |
| GLUT doesn't support some important useful events, such as closing a window. This allows us to handle these events. | |
Static Protected Methods | |
| KeyID | translateKey (unsigned char key) |
| ModBitfield | getModifiers () |
| ButtonID | translateButton (Int32 button) |
| GfxGLWindowGLUT & | getWindow () |
| Retrieve the current GLUT window. | |
| void | idleCB () |
| Protected, to allow GLUI to access it. | |
| void | displayCB () |
| void | keyboardCB (unsigned char key, int x, int y) |
| void | mouseCB (int button, int state, int x, int y) |
| void | motionCB (int x, int y) |
| void | passiveMotionCB (int x, int y) |
| void | specialCB (int key, int x, int y) |
| void | reshapeCB (int w, int h) |
Protected Attributes | |
| Int32 | _windowId |
| bool | _idleEvents |
Private Types | |
| typedef std::map< Int32, GfxGLWindowGLUT * > | WindowMap |
Private Methods | |
| GfxGLWindowGLUT (const GfxGLWindowGLUT &) | |
| Disallowed. | |
| GfxGLWindowGLUT & | operator= (const GfxGLWindowGLUT &) |
| Disallowed. | |
Private Attributes | |
| bool | _closeReceived |
| UInt32 | _width |
| UInt32 | _height |
Static Private Attributes | |
| WindowMap | _windowMap |
| Map from window ids to GfxGLWindowGLUT pointers. | |
| UInt32 | _nbIdleRegistered = 0 |
Definition at line 45 of file gfxGLWindowGLUT.h.
1.2.14 written by Dimitri van Heesch,
© 1997-2002