|
| GLUIProgramBase (int width=800, int height=600) |
|
int | Run (const char *window_title="OpenGL Viewer", unsigned int displayMode=0) |
| if displayMode is non-zero, initializes glut with that display mode
|
|
virtual bool | Initialize () |
| overrideable
|
|
virtual void | Handle_Display () |
|
virtual void | Handle_Reshape (int w, int h) |
|
virtual void | Handle_Keypress (unsigned char key, int x, int y) |
|
virtual void | Handle_KeypressUp (unsigned char key, int x, int y) |
|
virtual void | Handle_Special (int key, int x, int y) |
|
virtual void | Handle_SpecialUp (int key, int x, int y) |
|
virtual void | Handle_Click (int button, int state, int x, int y) |
|
virtual void | Handle_Drag (int x, int y) |
|
virtual void | Handle_Motion (int x, int y) |
|
virtual void | Handle_Idle () |
| by default, turns off idle callbacks to save cpu
|
|
virtual void | Handle_Control (int id) |
| override this to handle GLUI control callbacks
|
|
void | Refresh () |
| Refreshes the screen (equivalent to glutPostRedisplay())
|
|
void | SetFullscreen (bool fullscreen_on) |
| Turns on fullscreen mode.
|
|
void | SleepIdleCallback (unsigned int time=INT_MAX) |
| Pauses idle callbacks for the given time (in milliseconds)
|
|
|
static void | ControlFunc (int) |
| pass this as a callback for GLUI controls
|
|
|
int | main_window |
|
int | width |
|
int | height |
|
bool | fullscreen_mode |
|
int | saved_width |
|
int | saved_height |
|
The documentation for this class was generated from the following files: