projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
EGL is always double-buffered
[freeglut]
/
src
/
blackberry
/
fg_internal_blackberry.h
diff --git
a/src/blackberry/fg_internal_blackberry.h
b/src/blackberry/fg_internal_blackberry.h
index
63cca30
..
d06f9e1
100644
(file)
--- a/
src/blackberry/fg_internal_blackberry.h
+++ b/
src/blackberry/fg_internal_blackberry.h
@@
-34,6
+34,7
@@
#include "egl/fg_internal_egl.h"
#include <screen/screen.h>
#include <bps/event.h>
#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 */
/* -- 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;
{
struct tagSFG_PlatformDisplayEGL egl;
screen_context_t screenContext;
- bps_event_t* event;
+ bps_event_t* event;
EGLNativeWindowType single_native_window;
};
EGLNativeWindowType single_native_window;
};
@@
-113,8
+114,15
@@
struct tagSFG_PlatformJoystick
typedef struct tagSFG_PlatformWindowState SFG_PlatformWindowState;
struct tagSFG_PlatformWindowState
{
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 */
};
/* Menu font and color definitions */