aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/iphone/osys_iphone.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/iphone/osys_iphone.h')
-rw-r--r--backends/platform/iphone/osys_iphone.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/platform/iphone/osys_iphone.h b/backends/platform/iphone/osys_iphone.h
index 8ae768fd44..2d0bea310d 100644
--- a/backends/platform/iphone/osys_iphone.h
+++ b/backends/platform/iphone/osys_iphone.h
@@ -26,6 +26,7 @@
#ifdef IPHONE_BACKEND
#include "graphics/surface.h"
+#include "iphone_common.h"
#define AUDIO_BUFFERS 3
#define WAVE_BUFFER_SIZE 8192
@@ -89,7 +90,7 @@ protected:
TimerProc _timerCallback;
Common::Array<Common::Rect> _dirtyRects;
- bool _landscapeMode;
+ ScreenOrientation _screenOrientation;
bool _fullScreenIsDirty;
public:
@@ -155,7 +156,7 @@ public:
protected:
inline void addDirtyRect(int16 x1, int16 y1, int16 w, int16 h);
- template <bool landscapeMode> void internUpdateScreen();
+ void internUpdateScreen();
void dirtyMouseCursor();
void dirtyFullScreen();
void clipRectToScreen(int16 &x, int16 &y, int16 &w, int16 &h);