cocoaTouch/PopoverMenuViewController.m
changeset 3463 23c50be687a9
parent 3357 3836a31879e7
child 3490 016b3172b645
equal deleted inserted replaced
3462:4b36933dce1d 3463:23c50be687a9
     8 
     8 
     9 #import "SDL_uikitappdelegate.h"
     9 #import "SDL_uikitappdelegate.h"
    10 #import "PopoverMenuViewController.h"
    10 #import "PopoverMenuViewController.h"
    11 #import "PascalImports.h"
    11 #import "PascalImports.h"
    12 #import "CommodityFunctions.h"
    12 #import "CommodityFunctions.h"
       
    13 #import "SDL_sysvideo.h"
    13 
    14 
    14 @implementation PopoverMenuViewController
    15 @implementation PopoverMenuViewController
    15 @synthesize menuList;
    16 @synthesize menuList;
    16 
    17 
    17 
    18 
    73             HW_pause();
    74             HW_pause();
    74             isPaused = !isPaused;
    75             isPaused = !isPaused;
    75             break;
    76             break;
    76         case 1:
    77         case 1:
    77 			HW_chat();
    78 			HW_chat();
    78             //SDL_iPhoneKeyboardShow([SDLUIKitDelegate sharedAppDelegate].window);
    79             /*
       
    80             SDL_VideoDevice *_this = SDL_GetVideoDevice();
       
    81             SDL_VideoDisplay *display = &_this->displays[0];
       
    82             SDL_Window *window = display->windows;
       
    83             SDL_iPhoneKeyboardShow(window);
       
    84             */
    79             break;
    85             break;
    80         case 2:
    86         case 2:
    81             // expand the view (and table) so that the actionsheet can be selected on the iPhone
    87             // expand the view (and table) so that the actionsheet can be selected on the iPhone
    82             if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
    88             if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
    83                 [self.tableView deselectRowAtIndexPath:indexPath animated:NO];
    89                 [self.tableView deselectRowAtIndexPath:indexPath animated:NO];