X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fblackberry%2Ffg_internal_blackberry.h;h=eae1bd9d68f33fc69e02ba2b02847a88fbbb05db;hb=af47c3f93c7834b4006c49ec9df6a6ffdd3025de;hp=0756219bbf592bc157f82681d69d8319ae0227e3;hpb=5f89d95bd3ce9d96f28b457afe53e68098a8380e;p=freeglut diff --git a/src/blackberry/fg_internal_blackberry.h b/src/blackberry/fg_internal_blackberry.h index 0756219..eae1bd9 100644 --- a/src/blackberry/fg_internal_blackberry.h +++ b/src/blackberry/fg_internal_blackberry.h @@ -37,13 +37,13 @@ #include /* -- 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; }; @@ -76,7 +76,7 @@ struct touchscreen { /* -- 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 */ @@ -114,11 +114,13 @@ struct tagSFG_PlatformJoystick typedef struct tagSFG_PlatformWindowState SFG_PlatformWindowState; struct tagSFG_PlatformWindowState { - int newWidth; - int newHeight; - int originalRotation; - navigator_window_state_t windowState; - GLboolean windowCovered; + int newWidth; + int newHeight; + int originalRotation; + navigator_window_state_t windowState; + GLboolean windowCovered; + int keyboardHeight; + GLboolean keyboardOpen; }; /* Menu font and color definitions */