X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fmswin%2Ffg_internal_mswin.h;h=0fefb315cd39939acfa61a36326a8de2e6edf0b7;hb=7ce62fee66f89db514ed1b80e6c3aa287a2f8d74;hp=fb6b1b7ffedc59ea8329de49a3c7c63140ff9fca;hpb=7f4876d5e652a7936123de63788bc74d34a15ad7;p=freeglut diff --git a/src/mswin/fg_internal_mswin.h b/src/mswin/fg_internal_mswin.h index fb6b1b7..0fefb31 100644 --- a/src/mswin/fg_internal_mswin.h +++ b/src/mswin/fg_internal_mswin.h @@ -1,5 +1,5 @@ /* - * freeglut_internal_mswin.h + * fg_internal_mswin.h * * The freeglut library private include file. * @@ -48,10 +48,6 @@ #endif -#ifndef HAVE_VFPRINTF -#define HAVE_VFPRINTF 1 -#endif - /* MinGW may lack a prototype for ChangeDisplaySettingsEx() (depending on the version?) */ #if !defined(ChangeDisplaySettingsEx) LONG WINAPI ChangeDisplaySettingsExA(LPCSTR,LPDEVMODEA,HWND,DWORD,LPVOID); @@ -96,7 +92,15 @@ struct tagSFG_PlatformWindowState 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 */ + 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; };