aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/iphone/iphone_common.h
diff options
context:
space:
mode:
authorJohannes Schickel2012-02-19 21:18:17 +0100
committerJohannes Schickel2012-02-19 21:30:53 +0100
commit3d0316ccd215cbb1530f665ff195554e46559efe (patch)
tree4d0ed0988213228f931dc836055c70bd878f9ca9 /backends/platform/iphone/iphone_common.h
parent4244663020c0462eb3fb4f621efcdaac586c84f1 (diff)
downloadscummvm-rg350-3d0316ccd215cbb1530f665ff195554e46559efe.tar.gz
scummvm-rg350-3d0316ccd215cbb1530f665ff195554e46559efe.tar.bz2
scummvm-rg350-3d0316ccd215cbb1530f665ff195554e46559efe.zip
IPHONE: Formatting fixes.
Diffstat (limited to 'backends/platform/iphone/iphone_common.h')
-rw-r--r--backends/platform/iphone/iphone_common.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/backends/platform/iphone/iphone_common.h b/backends/platform/iphone/iphone_common.h
index 0cbcb77bcb..9bf559860e 100644
--- a/backends/platform/iphone/iphone_common.h
+++ b/backends/platform/iphone/iphone_common.h
@@ -20,7 +20,6 @@
*
*/
-
enum InputEvent {
kInputMouseDown,
kInputMouseUp,
@@ -41,13 +40,12 @@ enum ScreenOrientation {
kScreenOrientationFlippedLandscape
};
-typedef enum
-{
+enum UIViewSwipeDirection {
kUIViewSwipeUp = 1,
kUIViewSwipeDown = 2,
kUIViewSwipeLeft = 4,
kUIViewSwipeRight = 8
-} UIViewSwipeDirection;
+};
#ifdef IPHONE_OFFICIAL
void iphone_main(int argc, char **argv);
@@ -65,16 +63,16 @@ void iphone_main(int argc, char *argv[]);
// On the ObjC side
void iPhone_updateScreen(int mouseX, int mouseY);
-void iPhone_updateScreenRect(unsigned short* screen, int x1, int y1, int x2, int y2);
-void iPhone_updateOverlayRect(unsigned short* screen, int x1, int y1, int x2, int y2);
+void iPhone_updateScreenRect(unsigned short *screen, int x1, int y1, int x2, int y2);
+void iPhone_updateOverlayRect(unsigned short *screen, int x1, int y1, int x2, int y2);
void iPhone_initSurface(int width, int height);
bool iPhone_fetchEvent(int *outEvent, float *outX, float *outY);
-const char* iPhone_getDocumentsDir();
+const char *iPhone_getDocumentsDir();
bool iPhone_isHighResDevice();
int iPhone_getScreenHeight();
int iPhone_getScreenWidth();
void iPhone_enableOverlay(int state);
-void iPhone_setMouseCursor(short* buffer, int width, int height);
+void iPhone_setMouseCursor(short *buffer, int width, int height);
uint getSizeNextPOT(uint size);