X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmswin%2Ffg_internal_mswin.h;h=ee52382b553dc4c3f43fdd092289bc0d9729f58e;hb=99d53f15a4216240088132f6af9cb194b519b1cc;hp=3e7d5c771c9db56320c7d06b022f8907c9ad9b2c;hpb=a7362e5d688d2d2873d6bab49b86302aa588f1bf;p=freeglut diff --git a/src/mswin/fg_internal_mswin.h b/src/mswin/fg_internal_mswin.h index 3e7d5c7..ee52382 100644 --- a/src/mswin/fg_internal_mswin.h +++ b/src/mswin/fg_internal_mswin.h @@ -97,7 +97,14 @@ struct tagSFG_PlatformWindowState 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; };