cocoaTouch/MainMenuViewController.m
changeset 3464 cdb0ddeb38ba
parent 3463 23c50be687a9
child 3465 b290993c0810
equal deleted inserted replaced
3463:23c50be687a9 3464:cdb0ddeb38ba
   109                 gameConfigViewController.modalTransitionStyle = UIModalTransitionStylePartialCurl;
   109                 gameConfigViewController.modalTransitionStyle = UIModalTransitionStylePartialCurl;
   110 #endif
   110 #endif
   111             [self presentModalViewController:gameConfigViewController animated:YES];
   111             [self presentModalViewController:gameConfigViewController animated:YES];
   112             break;
   112             break;
   113         case 2:
   113         case 2:
       
   114             /*
   114             if (nil == splitRootViewController) {
   115             if (nil == splitRootViewController) {
   115                 splitRootViewController = [[SplitViewRootController alloc] initWithNibName:nil bundle:nil];
   116                 splitRootViewController = [[SplitViewRootController alloc] initWithNibName:nil bundle:nil];
   116                 splitRootViewController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
   117                 splitRootViewController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
   117             }
   118             }
   118             
   119             
       
   120             [self.view addSubview:splitRootViewController.view];
   119             [self presentModalViewController:splitRootViewController animated:YES];
   121             [self presentModalViewController:splitRootViewController animated:YES];
       
   122             */
   120             break;
   123             break;
   121         case 3:
   124         case 3:
   122             debugStr = [[NSString alloc] initWithContentsOfFile:DEBUG_FILE()];
   125             debugStr = [[NSString alloc] initWithContentsOfFile:DEBUG_FILE()];
   123             UITextView *scroll = [[UITextView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.height, self.view.frame.size.width)];
   126             UITextView *scroll = [[UITextView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.height, self.view.frame.size.width)];
   124             scroll.text = debugStr;
   127             scroll.text = debugStr;