X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffreeglut_internal.h;h=eb8def5444c9ace91e28ce3ceb0ad2f3176a3578;hb=78330d209960186385d8878cba261fd0b1624d9d;hp=4e23f32a0204c5d888e8764473f0f2d5b11ae27c;hpb=1a7b5b7702bcc093a613b02be7af4720f2618c79;p=freeglut diff --git a/src/freeglut_internal.h b/src/freeglut_internal.h index 4e23f32..eb8def5 100644 --- a/src/freeglut_internal.h +++ b/src/freeglut_internal.h @@ -236,6 +236,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; @@ -243,9 +244,9 @@ struct tagSFG_State int GameModeDepth; /* The pixel depth for game mode */ int GameModeRefresh; /* The refresh rate for game mode */ - int ActionOnWindowClose ; /* Action when user clicks "x" on window header bar */ - - fgExecutionState ExecState ; /* Current state of the GLUT execution */ + int ActionOnWindowClose; /* Action when user clicks "x" on window header bar */ + fgExecutionState ExecState; /* Current state of the GLUT execution */ + char *ProgramName; }; /*