diff options
author | Johannes Schickel | 2012-02-20 17:35:19 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-02-20 18:39:57 +0100 |
commit | d4c167414d13bab393f95ec430d717a0413a1b82 (patch) | |
tree | 4fa1933985ae951329532ca43ed244d724c6ee8d /backends/platform/iphone/iphone_video.h | |
parent | 5cc3d754f72c640f905b535f662b742c8b3794dc (diff) | |
download | scummvm-rg350-d4c167414d13bab393f95ec430d717a0413a1b82.tar.gz scummvm-rg350-d4c167414d13bab393f95ec430d717a0413a1b82.tar.bz2 scummvm-rg350-d4c167414d13bab393f95ec430d717a0413a1b82.zip |
IPHONE: Refactor event code a bit.
Now mouse x/y coordinates are passed as int.
Diffstat (limited to 'backends/platform/iphone/iphone_video.h')
-rw-r--r-- | backends/platform/iphone/iphone_video.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/platform/iphone/iphone_video.h b/backends/platform/iphone/iphone_video.h index 5b4e0fdbd0..173814a028 100644 --- a/backends/platform/iphone/iphone_video.h +++ b/backends/platform/iphone/iphone_video.h @@ -51,6 +51,8 @@ GLuint _screenTexture; GLuint _overlayTexture; GLuint _mouseCursorTexture; + + UIDeviceOrientation _orientation; } - (id)initWithFrame:(struct CGRect)frame; @@ -73,7 +75,7 @@ - (id)getEvent; -- (void)deviceOrientationChanged:(int)orientation; +- (void)deviceOrientationChanged:(UIDeviceOrientation)orientation; - (void)applicationSuspend; |