Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

glui_internal_control.h File Reference

#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)


Define Documentation

#define GLUI_DRAWINGSENTINAL_IDIOM   if (NOT can_draw()) return; GLUI_DrawingSentinal drawSentinal(this); drawSentinal.avoid_warning();
 

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.


Function Documentation

double GLUI_Time void   )  [inline]
 

Return the time, in seconds.


Generated on Fri Sep 15 17:51:57 2006 for GLUI by doxygen 1.3.6