Made glutGet, for window width and height, return width and height determined by...
[freeglut] / src / blackberry / fg_internal_blackberry.h
index 90b11fe..0756219 100644 (file)
@@ -34,6 +34,7 @@
 #include "egl/fg_internal_egl.h"
 #include <screen/screen.h>
 #include <bps/event.h>
+#include <bps/navigator.h>
 
 /* -- GLOBAL TYPE DEFINITIONS ---------------------------------------------- */
 /* The structure used by display initialization in freeglut_init.c */
@@ -113,7 +114,11 @@ struct tagSFG_PlatformJoystick
 typedef struct tagSFG_PlatformWindowState SFG_PlatformWindowState;
 struct tagSFG_PlatformWindowState
 {
-    char unused;
+       int newWidth;
+       int newHeight;
+       int originalRotation;
+       navigator_window_state_t windowState;
+       GLboolean windowCovered;
 };
 
 /* Menu font and color definitions */