project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m
changeset 3625 9f1d79e01a60
parent 3616 85d69ddb41b6
child 3626 19f78afa0188
equal deleted inserted replaced
3624:304c6d32383a 3625:9f1d79e01a60
   120     [overlayController release];
   120     [overlayController release];
   121 }
   121 }
   122 
   122 
   123 // override the direct execution of SDL_main to allow us to implement the frontend (or even using a nib)
   123 // override the direct execution of SDL_main to allow us to implement the frontend (or even using a nib)
   124 -(void) applicationDidFinishLaunching:(UIApplication *)application {
   124 -(void) applicationDidFinishLaunching:(UIApplication *)application {
   125     [application setStatusBarHidden:YES];
   125     [application setStatusBarHidden:YES]; 
   126     [application setStatusBarOrientation:UIInterfaceOrientationLandscapeRight animated:NO];  
       
   127     
   126     
   128     UIWindow *uiwindow = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
   127     UIWindow *uiwindow = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
   129     uiwindow.backgroundColor = [UIColor blackColor];
   128     uiwindow.backgroundColor = [UIColor blackColor];
   130     
   129     
   131     if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
   130     if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)