X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_internal.h;h=9f18d043b9b9de6516ed93356021d1a6d327a8e4;hb=9f6ad6f0f0c2783d89e6b4b6281cdb3a08528c6e;hp=06bb17ee762e33eb7571bb2ce20b4ba79088f804;hpb=0906b1943aa860049f4af1291e7819d5a711c6bc;p=freeglut diff --git a/src/freeglut_internal.h b/src/freeglut_internal.h index 06bb17e..9f18d04 100644 --- a/src/freeglut_internal.h +++ b/src/freeglut_internal.h @@ -543,6 +543,8 @@ struct tagSFG_MenuEntry /* * A window, making part of freeglut windows hierarchy. * Should be kept portable. + * + * NOTE that ActiveMenu is set to menu itself if the window is a menu. */ struct tagSFG_Window { @@ -813,6 +815,7 @@ SFG_Menu* fgMenuByID( int menuID ); * The menu activation and deactivation the code. This is the meat * of the menu user interface handling code... */ +void fgUpdateMenuHighlight ( SFG_Menu *menu ); GLboolean fgCheckActiveMenu ( SFG_Window *window, int button, GLboolean pressed, int mouse_x, int mouse_y ); void fgDeactivateMenu( SFG_Window *window );