diff options
author | Johannes Schickel | 2012-02-24 22:43:02 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-02-24 22:43:02 +0100 |
commit | f1a4f508afb7552629b8278d3cef8ed23c05998e (patch) | |
tree | b9afdc73ae68e54a76485dad80dcf2ea9c827924 /backends/platform/iphone/iphone_common.h | |
parent | 7fe3bdebc05252c02efdf5ba2680b54e2eca4263 (diff) | |
download | scummvm-rg350-f1a4f508afb7552629b8278d3cef8ed23c05998e.tar.gz scummvm-rg350-f1a4f508afb7552629b8278d3cef8ed23c05998e.tar.bz2 scummvm-rg350-f1a4f508afb7552629b8278d3cef8ed23c05998e.zip |
IPHONE: Move aspect ratio settings to VideoContext.
Diffstat (limited to 'backends/platform/iphone/iphone_common.h')
-rw-r--r-- | backends/platform/iphone/iphone_common.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/backends/platform/iphone/iphone_common.h b/backends/platform/iphone/iphone_common.h index 3c0365eff5..19e4f2ce9b 100644 --- a/backends/platform/iphone/iphone_common.h +++ b/backends/platform/iphone/iphone_common.h @@ -58,13 +58,14 @@ enum GraphicsModes { }; struct VideoContext { - VideoContext() : screenWidth(), screenHeight(), overlayVisible(false), + VideoContext() : asprectRatioCorrection(), screenWidth(), screenHeight(), overlayVisible(false), overlayWidth(), overlayHeight(), mouseX(), mouseY(), mouseHotspotX(), mouseHotspotY(), mouseWidth(), mouseHeight(), mouseIsVisible(), graphicsMode(kGraphicsModeLinear), shakeOffsetY() { } // Game screen state + bool asprectRatioCorrection; uint screenWidth, screenHeight; Graphics::Surface screenTexture; @@ -86,8 +87,6 @@ struct VideoContext { }; // On the ObjC side -void iPhone_setAspectRatioState(bool enable); -bool iPhone_getAspectRatioState(); void iPhone_updateScreen(); bool iPhone_fetchEvent(int *outEvent, int *outX, int *outY); const char *iPhone_getDocumentsDir(); |