cocoaTouch/iPad/PopupMenuViewController.m
changeset 3122 e005359efc59
parent 3116 97dc65a47b15
child 3250 d5cd1a617123
equal deleted inserted replaced
3121:77cfee30b952 3122:e005359efc59
     4 //
     4 //
     5 //  Created by Vittorio on 25/03/10.
     5 //  Created by Vittorio on 25/03/10.
     6 //  Copyright 2010 __MyCompanyName__. All rights reserved.
     6 //  Copyright 2010 __MyCompanyName__. All rights reserved.
     7 //
     7 //
     8 
     8 
       
     9 #import "SDL_uikitappdelegate.h"
     9 #import "PopupMenuViewController.h"
    10 #import "PopupMenuViewController.h"
    10 #import "PascalImports.h"
    11 #import "PascalImports.h"
    11 
    12 
    12 @implementation PopupMenuViewController
    13 @implementation PopupMenuViewController
    13 @synthesize menuTable, menuList;
    14 @synthesize menuTable, menuList;
    93             HW_pause();
    94             HW_pause();
    94             isPaused = !isPaused;
    95             isPaused = !isPaused;
    95             break;
    96             break;
    96         case 1:
    97         case 1:
    97 			HW_chat();
    98 			HW_chat();
       
    99             //SDL_iPhoneKeyboardShow([SDLUIKitDelegate sharedAppDelegate].window);
    98             break;
   100             break;
    99         case 2:
   101         case 2:
   100 			actionSheet = [[UIActionSheet alloc] initWithTitle:NSLocalizedString(@"Are you reeeeeally sure?", @"")
   102 			actionSheet = [[UIActionSheet alloc] initWithTitle:NSLocalizedString(@"Are you reeeeeally sure?", @"")
   101                                                       delegate:self
   103                                                       delegate:self
   102                                              cancelButtonTitle:NSLocalizedString(@"Well, maybe not...", @"")
   104                                              cancelButtonTitle:NSLocalizedString(@"Well, maybe not...", @"")