X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fmswin%2Ffg_internal_mswin.h;h=1ec651fc6a1a58d5e5f050a45bf12f20b18e3273;hb=6f3bd48bd40bdc0777208aea2dcfd954c7b3a915;hp=21899b831318bba780a43b9572b4d8782da951b9;hpb=9a83e1923241a52132e87f333184433067456097;p=freeglut diff --git a/src/mswin/fg_internal_mswin.h b/src/mswin/fg_internal_mswin.h index 21899b8..1ec651f 100644 --- a/src/mswin/fg_internal_mswin.h +++ b/src/mswin/fg_internal_mswin.h @@ -95,6 +95,16 @@ struct tagSFG_PlatformWindowState 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 */ + + BOOL MouseTracking; /* Needed for generating GLUT_ENTERED and GLUT_LEFT entry func callbacks on windows */ + + /* 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; };