From b65cc2904aebe7e95bd9fdeeea0f51593a84598f Mon Sep 17 00:00:00 2001 From: Oystein Eftevaag Date: Mon, 31 Dec 2007 00:22:37 +0000 Subject: Added support for landscape mode in addition to the upside-down landscape mode we already had, and a few minor optimizations svn-id: r30090 --- backends/platform/iphone/iphone_common.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'backends/platform/iphone/iphone_common.h') diff --git a/backends/platform/iphone/iphone_common.h b/backends/platform/iphone/iphone_common.h index 3240182354..b4723670eb 100644 --- a/backends/platform/iphone/iphone_common.h +++ b/backends/platform/iphone/iphone_common.h @@ -35,6 +35,12 @@ enum InputEvent { kInputApplicationResumed }; +enum ScreenOrientation { + kScreenOrientationPortrait, + kScreenOrientationLandscape, + kScreenOrientationFlippedLandscape +}; + // We need this to be able to call functions from/in Objective-C. #ifdef __cplusplus extern "C" { -- cgit v1.2.3