Updated BlackBerry references to make note of the change from FREEGLUT_GLES2/1 to...
[freeglut] / src / blackberry / fg_internal_blackberry.h
index 63cca30..d06f9e1 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 */
@@ -42,7 +43,7 @@ struct tagSFG_PlatformDisplay
 {
     struct tagSFG_PlatformDisplayEGL egl;
     screen_context_t screenContext;
-       bps_event_t* event;
+    bps_event_t* event;
     EGLNativeWindowType single_native_window;
 };
 
@@ -113,8 +114,15 @@ struct tagSFG_PlatformJoystick
 typedef struct tagSFG_PlatformWindowState SFG_PlatformWindowState;
 struct tagSFG_PlatformWindowState
 {
-       int newWidth;
-       int newHeight;
+    int newWidth;
+    int newHeight;
+    int originalRotation;
+    navigator_window_state_t windowState;
+    GLboolean windowCovered;
+#ifdef __PLAYBOOK__
+    int keyboardHeight;
+    GLboolean keyboardOpen;
+#endif
 };
 
 /* Menu font and color definitions */