|
@@ -25,20 +25,6 @@
|
|
|
|
|
|
#include "../SDL_sysvideo.h"
|
|
|
|
|
|
-#ifndef __IPHONE_6_0
|
|
|
-/* This enum isn't available in older SDKs, but we use it for our own purposes on iOS 5.1 and for the system on iOS 6.0 */
|
|
|
-enum UIInterfaceOrientationMask
|
|
|
-{
|
|
|
- UIInterfaceOrientationMaskPortrait = (1 << UIInterfaceOrientationPortrait),
|
|
|
- UIInterfaceOrientationMaskLandscapeLeft = (1 << UIInterfaceOrientationLandscapeLeft),
|
|
|
- UIInterfaceOrientationMaskLandscapeRight = (1 << UIInterfaceOrientationLandscapeRight),
|
|
|
- UIInterfaceOrientationMaskPortraitUpsideDown = (1 << UIInterfaceOrientationPortraitUpsideDown),
|
|
|
- UIInterfaceOrientationMaskLandscape = (UIInterfaceOrientationMaskLandscapeLeft | UIInterfaceOrientationMaskLandscapeRight),
|
|
|
- UIInterfaceOrientationMaskAll = (UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskLandscapeLeft | UIInterfaceOrientationMaskLandscapeRight | UIInterfaceOrientationMaskPortraitUpsideDown),
|
|
|
- UIInterfaceOrientationMaskAllButUpsideDown = (UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskLandscapeLeft | UIInterfaceOrientationMaskLandscapeRight),
|
|
|
-};
|
|
|
-#endif /* !__IPHONE_6_0 */
|
|
|
-
|
|
|
|
|
|
#endif /* _SDL_uikitvideo_h */
|
|
|
|