22 #ifndef BACKENDS_PLATFORM_IOS7_IOS7_COMMON_H 23 #define BACKENDS_PLATFORM_IOS7_IOS7_COMMON_H 25 #include "graphics/surface.h" 31 kInputMouseLeftButtonDown,
32 kInputMouseLeftButtonUp,
33 kInputMouseRightButtonDown,
34 kInputMouseRightButtonUp,
36 kInputOrientationChanged,
38 kInputApplicationSuspended,
39 kInputApplicationResumed,
40 kInputApplicationSaveState,
41 kInputApplicationClearState,
42 kInputApplicationRestoreState,
47 kInputJoystickAxisMotion,
48 kInputJoystickButtonDown,
49 kInputJoystickButtonUp,
51 kInputTouchModeChanged
54 enum ScreenOrientation {
55 kScreenOrientationAuto,
56 kScreenOrientationPortrait,
57 kScreenOrientationFlippedPortrait,
58 kScreenOrientationLandscape,
59 kScreenOrientationFlippedLandscape
62 enum DirectionalInput {
63 kDirectionalInputThumbstick,
64 kDirectionalInputDpad,
72 enum UIViewSwipeDirection {
79 enum UIViewTapDescription {
84 enum UIViewLongPressDescription {
85 UIViewLongPressStarted = 1,
86 UIViewLongPressEnded = 2
91 InternalEvent(InputEvent t,
int v1,
int v2) : type(t), value1(v1), value2(v2) {}
100 extern char **iOS7_argv;
103 bool iOS7_isBigDevice();
105 void iOS7_buildSharedOSystemInstance();
106 void iOS7_main(
int argc,
char **argv);
109 TouchMode iOS7_getCurrentTouchMode();
Definition: ios7_common.h:89