typedef void (* FGCBkeyboard )( unsigned char, int, int );
typedef void (* FGCBspecial )( int, int, int );
typedef void (* FGCBmouse )( int, int, int, int );
+typedef void (* FGCBmousewheel )( int, int, int, int );
typedef void (* FGCBmotion )( int, int );
typedef void (* FGCBpassive )( int, int );
typedef void (* FGCBentry )( int );
FGCBidle IdleCallback; /* The global idle callback */
GLboolean BuildingAMenu; /* True if we are presently making a menu */
+ int ActiveMenus; /* Number of currently active menus */
FGCBmenuState MenuStateCallback; /* Menu callbacks are global */
FGCBmenuStatus MenuStatusCallback;
int ActionOnWindowClose ; /* Action when user clicks "x" on window header bar */
fgExecutionState ExecState ; /* Current state of the GLUT execution */
+ char *ProgramName ; /* Name of the program invoking the "freeglut" library" */
};
/*
FGCBspecial Special;
FGCBspecialUp SpecialUp;
FGCBmouse Mouse;
+ FGCBmousewheel MouseWheel;
FGCBmotion Motion;
FGCBpassive Passive;
FGCBentry Entry;