diff options
Diffstat (limited to 'backends/platform/iphone/iphone_video.h')
-rw-r--r-- | backends/platform/iphone/iphone_video.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/backends/platform/iphone/iphone_video.h b/backends/platform/iphone/iphone_video.h index 43a643ab4a..83150961d0 100644 --- a/backends/platform/iphone/iphone_video.h +++ b/backends/platform/iphone/iphone_video.h @@ -32,6 +32,25 @@ #include <OpenGLES/ES1/glext.h> #include "iphone_keyboard.h" +#include "iphone_common.h" + +struct VideoContext { + // Game screen state + int screenWidth, screenHeight; + + // Overlay state + int overlayWidth, overlayHeight; + + // Mouse cursor state + int mouseX, mouseY; + int mouseHotspotX, mouseHotspotY; + int mouseWidth, mouseHeight; + bool mouseIsVisible; + + // Misc state + GraphicsModes graphicsMode; + int shakeOffsetY; +}; @interface iPhoneView : UIView { void *_screenSurface; |