#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 */
+/* The structure used by display initialization in fg_init.c */
typedef struct tagSFG_PlatformDisplay SFG_PlatformDisplay;
struct tagSFG_PlatformDisplay
{
struct tagSFG_PlatformDisplayEGL egl;
screen_context_t screenContext;
- bps_event_t* event;
+ bps_event_t* event;
EGLNativeWindowType single_native_window;
};
/* -- JOYSTICK-SPECIFIC STRUCTURES AND TYPES ------------------------------- */
/*
- * Initial defines from "js.h" starting around line 33 with the existing "freeglut_joystick.c"
+ * Initial defines from "js.h" starting around line 33 with the existing "fg_joystick.c"
* interspersed
*/
typedef struct tagSFG_PlatformWindowState SFG_PlatformWindowState;
struct tagSFG_PlatformWindowState
{
- char unused;
+ int newWidth;
+ int newHeight;
+ int originalRotation;
+ navigator_window_state_t windowState;
+ GLboolean windowCovered;
+ int keyboardHeight;
+ GLboolean keyboardOpen;
};
/* Menu font and color definitions */