diff options
Diffstat (limited to 'backends/platform/iphone/iphone_common.h')
-rw-r--r-- | backends/platform/iphone/iphone_common.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/backends/platform/iphone/iphone_common.h b/backends/platform/iphone/iphone_common.h index b4723670eb..6a5250a018 100644 --- a/backends/platform/iphone/iphone_common.h +++ b/backends/platform/iphone/iphone_common.h @@ -32,7 +32,8 @@ enum InputEvent { kInputOrientationChanged, kInputKeyPressed, kInputApplicationSuspended, - kInputApplicationResumed + kInputApplicationResumed, + kInputSwipe }; enum ScreenOrientation { @@ -41,6 +42,14 @@ enum ScreenOrientation { kScreenOrientationFlippedLandscape }; +typedef enum +{ + kUIViewSwipeUp = 1, + kUIViewSwipeDown = 2, + kUIViewSwipeLeft = 4, + kUIViewSwipeRight = 8 +} UIViewSwipeDirection; + // We need this to be able to call functions from/in Objective-C. #ifdef __cplusplus extern "C" { |