diff options
author | Oystein Eftevaag | 2007-11-24 21:45:39 +0000 |
---|---|---|
committer | Oystein Eftevaag | 2007-11-24 21:45:39 +0000 |
commit | 1d5392d56f61165b2730e43548e972bf519c00c3 (patch) | |
tree | 0425efc885a898aba013f737d77955a30c016195 /backends/platform/iphone/iphone_video.h | |
parent | 31bd8ec3c01bcff86e2d5e4465f74371c873629b (diff) | |
download | scummvm-rg350-1d5392d56f61165b2730e43548e972bf519c00c3.tar.gz scummvm-rg350-1d5392d56f61165b2730e43548e972bf519c00c3.tar.bz2 scummvm-rg350-1d5392d56f61165b2730e43548e972bf519c00c3.zip |
Now always sending a mouse-moved event before a click (some engines don't update the mouse position on click events, it seems). Also added a workaround for an event not always being received when the secondary finger is lifted from the touchscreen.
svn-id: r29629
Diffstat (limited to 'backends/platform/iphone/iphone_video.h')
-rw-r--r-- | backends/platform/iphone/iphone_video.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/backends/platform/iphone/iphone_video.h b/backends/platform/iphone/iphone_video.h index 9a0492bad3..3ac3d6a31a 100644 --- a/backends/platform/iphone/iphone_video.h +++ b/backends/platform/iphone/iphone_video.h @@ -35,6 +35,14 @@ #import "iphone_keyboard.h" +typedef enum +{ + kUIViewSwipeUp = 1, + kUIViewSwipeDown = 2, + kUIViewSwipeLeft = 4, + kUIViewSwipeRight = 8 +} UIViewSwipeDirection; + @interface iPhoneView : UIView { CoreSurfaceBufferRef _screenSurface; @@ -57,7 +65,7 @@ - (void)initSurface; -- (void)updateScreen; +- (void)updateScreenRect:(id)rect; - (id)getEvent; |