X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_internal.h;h=9e8093514054aa328c557c7564304f424963e71e;hb=9338532e9e7986bb018825c869ddeaaa535da8e2;hp=eb8def5444c9ace91e28ce3ceb0ad2f3176a3578;hpb=e4aeaead5b7292e16223ed828b6ba4bc897e80c8;p=freeglut diff --git a/src/freeglut_internal.h b/src/freeglut_internal.h index eb8def5..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 ); @@ -244,9 +245,10 @@ 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 */ - char *ProgramName; + 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" */ }; /* @@ -368,6 +370,7 @@ struct tagSFG_WindowCallbacks FGCBspecial Special; FGCBspecialUp SpecialUp; FGCBmouse Mouse; + FGCBmousewheel MouseWheel; FGCBmotion Motion; FGCBpassive Passive; FGCBentry Entry;