equal
deleted
inserted
replaced
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) |