project_files/HedgewarsMobile/Classes/OverlayViewController.m
changeset 4856 dbc256913b35
parent 4855 2480ab325057
child 4861 91f889289a47
equal deleted inserted replaced
4855:2480ab325057 4856:dbc256913b35
   209     // present the overlay
   209     // present the overlay
   210     [UIView beginAnimations:@"showing overlay" context:NULL];
   210     [UIView beginAnimations:@"showing overlay" context:NULL];
   211     [UIView setAnimationDuration:2];
   211     [UIView setAnimationDuration:2];
   212     self.view.alpha = 1;
   212     self.view.alpha = 1;
   213     [UIView commitAnimations];
   213     [UIView commitAnimations];
   214     
       
   215     doDim();
       
   216 }
   214 }
   217 
   215 
   218 -(void) numberOfScreensIncreased {
   216 -(void) numberOfScreensIncreased {
   219     if (initialScreenCount == 1) {
   217     if (initialScreenCount == 1) {
   220         UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"New display detected"
   218         UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"New display detected"