src/video/uikit/SDL_uikitviewcontroller.m
changeset 6453 f71e3fdba072
parent 6452 1895319021e4
child 6518 42948831d16e
equal deleted inserted replaced
6452:1895319021e4 6453:f71e3fdba072
    32 #include "SDL_uikitviewcontroller.h"
    32 #include "SDL_uikitviewcontroller.h"
    33 #include "SDL_uikitvideo.h"
    33 #include "SDL_uikitvideo.h"
    34 
    34 
    35 #ifndef __IPHONE_6_0
    35 #ifndef __IPHONE_6_0
    36 // 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
    36 // 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
    37 enum UIInterfaceOrientationMask) {
    37 enum UIInterfaceOrientationMask
       
    38 {
    38     UIInterfaceOrientationMaskPortrait = (1 << UIInterfaceOrientationPortrait),
    39     UIInterfaceOrientationMaskPortrait = (1 << UIInterfaceOrientationPortrait),
    39     UIInterfaceOrientationMaskLandscapeLeft = (1 << UIInterfaceOrientationLandscapeLeft),
    40     UIInterfaceOrientationMaskLandscapeLeft = (1 << UIInterfaceOrientationLandscapeLeft),
    40     UIInterfaceOrientationMaskLandscapeRight = (1 << UIInterfaceOrientationLandscapeRight),
    41     UIInterfaceOrientationMaskLandscapeRight = (1 << UIInterfaceOrientationLandscapeRight),
    41     UIInterfaceOrientationMaskPortraitUpsideDown = (1 << UIInterfaceOrientationPortraitUpsideDown),
    42     UIInterfaceOrientationMaskPortraitUpsideDown = (1 << UIInterfaceOrientationPortraitUpsideDown),
    42     UIInterfaceOrientationMaskLandscape = (UIInterfaceOrientationMaskLandscapeLeft | UIInterfaceOrientationMaskLandscapeRight),
    43     UIInterfaceOrientationMaskLandscape = (UIInterfaceOrientationMaskLandscapeLeft | UIInterfaceOrientationMaskLandscapeRight),