X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fmswin%2Ffg_internal_mswin.h;h=0e97c9500cff47140c9842831ed0712d88512f99;hb=9a1ee9315ae988fd16d4360fe99aa562de6a94ba;hp=571db4024d6e4065a00a729103db6f8fc4fdc11e;hpb=5b3d339481bac6dbaeb599bffc1325f716585bfe;p=freeglut diff --git a/src/mswin/fg_internal_mswin.h b/src/mswin/fg_internal_mswin.h index 571db40..0e97c95 100644 --- a/src/mswin/fg_internal_mswin.h +++ b/src/mswin/fg_internal_mswin.h @@ -91,8 +91,21 @@ struct tagSFG_PlatformContext typedef struct tagSFG_PlatformWindowState SFG_PlatformWindowState; struct tagSFG_PlatformWindowState { - RECT OldRect; /* window rect - stored before the window is made fullscreen */ - DWORD OldStyle; /* window style - stored before the window is made fullscreen */ + RECT OldRect; /* window rect - stored before the window is made fullscreen */ + DWORD OldStyle; /* window style - stored before the window is made fullscreen */ + DWORD OldStyleEx; /* window Ex style - stored before the window is made fullscreen */ + BOOL OldMaximized; /* window maximized state - stored before the window is made fullscreen */ + + GLboolean MouseTracking; /* Needed for generating GLUT_ENTERED and GLUT_LEFT entry func callbacks on windows */ + GLboolean WindowFuncCalled; /* Indicate whether windowStatus/visibility func was notified that this window was created */ + + /* Need to store window titles to emulate + * glutSetIconTitle/glutSetWindowTitle as Windows has only + * one title associated with a window and we need to swap + * them out based on the window's iconic state + */ + char* WindowTitle; + char* IconTitle; };