Moving the platform-specific window state fields into their own substructure
[freeglut] / src / mswin / freeglut_internal_mswin.h
index 78ad1fe..8712ad9 100644 (file)
@@ -85,6 +85,16 @@ struct tagSFG_PlatformContext
 };\r
 \r
 \r
+/* Window's state description. This structure should be kept portable. */\r
+typedef struct tagSFG_PlatformWindowState SFG_PlatformWindowState;\r
+struct tagSFG_PlatformWindowState\r
+{\r
+    RECT            OldRect;            /* window rect - stored before the window is made fullscreen */\r
+    DWORD           OldStyle;           /* window style - stored before the window is made fullscreen */\r
+};\r
+\r
+\r
+\r
 /* Joystick-Specific Definitions */\r
 #if !defined(_WIN32_WCE)\r
 #    define _JS_MAX_AXES  8\r