#include "GL/glui.h"
#include "glui_internal.h"
Go to the source code of this file.
Classes | |
class | GLUI_DrawingSentinal |
Defines | |
#define | GLUI_DRAWINGSENTINAL_IDIOM if (NOT can_draw()) return; GLUI_DrawingSentinal drawSentinal(this); drawSentinal.avoid_warning(); |
Functions | |
double | GLUI_Time (void) |
|
Just drop a GLUI_DRAWINGSENTINAL_IDIOM at the start of your draw methods, and they'll return if we can't be drawn, and automatically save and restore all needed state. |
|
Return the time, in seconds. |