aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/iphone/iphone_common.h
diff options
context:
space:
mode:
authorOystein Eftevaag2007-11-17 21:26:03 +0000
committerOystein Eftevaag2007-11-17 21:26:03 +0000
commitdbbce1985aee049e5bb1690ec9d8368934a4d6a7 (patch)
tree0c02aacfbbc48ad27f72c30edf64ae26765569e3 /backends/platform/iphone/iphone_common.h
parent7bc422a8e94fedbb70470222b155ced1163d0a81 (diff)
downloadscummvm-rg350-dbbce1985aee049e5bb1690ec9d8368934a4d6a7.tar.gz
scummvm-rg350-dbbce1985aee049e5bb1690ec9d8368934a4d6a7.tar.bz2
scummvm-rg350-dbbce1985aee049e5bb1690ec9d8368934a4d6a7.zip
Implemented portrait mode, fixed a few issues with the dirty rects handling, fixed some cursor positioning issues, and redirecting stdout and stderr to a log file when ScummVM is launched from the Springboard
svn-id: r29541
Diffstat (limited to 'backends/platform/iphone/iphone_common.h')
-rw-r--r--backends/platform/iphone/iphone_common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/platform/iphone/iphone_common.h b/backends/platform/iphone/iphone_common.h
index f1731f3dfe..287f797472 100644
--- a/backends/platform/iphone/iphone_common.h
+++ b/backends/platform/iphone/iphone_common.h
@@ -28,7 +28,8 @@ enum InputEvent {
kInputMouseDown,
kInputMouseUp,
kInputMouseDragged,
- kInputMouseSecondToggled
+ kInputMouseSecondToggled,
+ kInputOrientationChanged
};
// We need this to be able to call functions from/in Objective-C.
@@ -44,7 +45,7 @@ void iPhone_updateScreen();
unsigned short* iPhone_getSurface();
void iPhone_lockSurface();
void iPhone_unlockSurface();
-void iPhone_initSurface(int width, int height);
+void iPhone_initSurface(int width, int height, bool landscape);
bool iPhone_fetchEvent(int *outEvent, float *outX, float *outY);
#ifdef __cplusplus