renamed all references to freeglut_xxx files (their old names) to fg_xxx
[freeglut] / src / mswin / fg_internal_mswin.h
index 21899b8..1209fc4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * freeglut_internal_mswin.h
+ * fg_internal_mswin.h
  *
  * The freeglut library private include file.
  *
@@ -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;
 };