src/video/uikit/SDL_uikitappdelegate.m
branchiOS-improvements
changeset 9501 574db299498f
parent 9495 76e878c8ca80
child 9504 1f3b6fc94fae
equal deleted inserted replaced
9500:cbf5c5ecf5ac 9501:574db299498f
    73 {
    73 {
    74     BOOL disable = (hint && *hint != '0');
    74     BOOL disable = (hint && *hint != '0');
    75     [UIApplication sharedApplication].idleTimerDisabled = disable;
    75     [UIApplication sharedApplication].idleTimerDisabled = disable;
    76 }
    76 }
    77 
    77 
    78 @interface SDL_splashviewcontroller : UIViewController {
    78 @interface SDL_splashviewcontroller : UIViewController
       
    79 
       
    80 - (void)updateSplashImage:(UIInterfaceOrientation)interfaceOrientation;
       
    81 
       
    82 @end
       
    83 
       
    84 @implementation SDL_splashviewcontroller {
    79     UIImageView *splash;
    85     UIImageView *splash;
    80     UIImage *splashPortrait;
    86     UIImage *splashPortrait;
    81     UIImage *splashLandscape;
    87     UIImage *splashLandscape;
    82 }
    88 }
    83 
       
    84 - (void)updateSplashImage:(UIInterfaceOrientation)interfaceOrientation;
       
    85 @end
       
    86 
       
    87 @implementation SDL_splashviewcontroller
       
    88 
    89 
    89 - (id)init
    90 - (id)init
    90 {
    91 {
    91     self = [super init];
    92     self = [super init];
    92     if (self == nil) {
    93     if (self == nil) {