equal
deleted
inserted
replaced
22 #import "SDL_uikitappdelegate.h" |
22 #import "SDL_uikitappdelegate.h" |
23 #import "InGameMenuViewController.h" |
23 #import "InGameMenuViewController.h" |
24 #import "PascalImports.h" |
24 #import "PascalImports.h" |
25 #import "CommodityFunctions.h" |
25 #import "CommodityFunctions.h" |
26 #import "SDL_sysvideo.h" |
26 #import "SDL_sysvideo.h" |
|
27 #import "SDL_uikitkeyboard.h" |
27 |
28 |
28 @implementation InGameMenuViewController |
29 @implementation InGameMenuViewController |
29 @synthesize menuList; |
30 @synthesize menuList; |
30 |
31 |
31 |
32 |
175 [UIView setAnimationDuration:0.2]; |
176 [UIView setAnimationDuration:0.2]; |
176 self.view.frame = CGRectMake(screen.size.height-200, 0, 200, 170); |
177 self.view.frame = CGRectMake(screen.size.height-200, 0, 200, 170); |
177 [UIView commitAnimations]; |
178 [UIView commitAnimations]; |
178 } |
179 } |
179 |
180 |
180 if ([actionSheet cancelButtonIndex] != buttonIndex) |
181 if ([actionSheet cancelButtonIndex] != buttonIndex) { |
|
182 [[NSNotificationCenter defaultCenter] postNotificationName:@"remove overlay" object:nil]; |
181 HW_terminate(NO); |
183 HW_terminate(NO); |
|
184 } |
182 } |
185 } |
183 |
186 |
184 @end |
187 @end |