X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_internal.h;h=9e8093514054aa328c557c7564304f424963e71e;hb=d27fd0aebaecfa09560f296df23829757c42fb65;hp=4e23f32a0204c5d888e8764473f0f2d5b11ae27c;hpb=1a7b5b7702bcc093a613b02be7af4720f2618c79;p=freeglut diff --git a/src/freeglut_internal.h b/src/freeglut_internal.h index 4e23f32..9e80935 100644 --- a/src/freeglut_internal.h +++ b/src/freeglut_internal.h @@ -120,6 +120,7 @@ typedef void (* FGCBvisibility )( int ); 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 ); @@ -236,6 +237,7 @@ struct tagSFG_State 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; @@ -246,6 +248,7 @@ struct tagSFG_State 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" */ }; /* @@ -367,6 +370,7 @@ struct tagSFG_WindowCallbacks FGCBspecial Special; FGCBspecialUp SpecialUp; FGCBmouse Mouse; + FGCBmousewheel MouseWheel; FGCBmotion Motion; FGCBpassive Passive; FGCBentry Entry;