project_files/HedgewarsMobile/Classes/MainMenuViewController.m
branchios-revival
changeset 11145 1c89970c7f15
parent 11124 f4e3bf03cc35
child 11180 906c1878bc2c
--- a/project_files/HedgewarsMobile/Classes/MainMenuViewController.m	Sat Sep 05 23:46:31 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/MainMenuViewController.m	Sun Sep 06 03:17:22 2015 +0200
@@ -29,6 +29,10 @@
 #import "ServerProtocolNetwork.h"
 #import "GameInterfaceBridge.h"
 
+@interface MainMenuViewController ()
+@property (retain, nonatomic) IBOutlet UIButton *simpleGameButton;
+@property (retain, nonatomic) IBOutlet UIButton *missionsButton;
+@end
 
 @implementation MainMenuViewController
 @synthesize gameConfigViewController, settingsViewController, aboutViewController, savedGamesViewController,
@@ -42,7 +46,10 @@
 -(void) viewDidLoad {
     self.view.frame = [[UIScreen mainScreen] safeBounds];
     [super viewDidLoad];
-
+    
+    [self.simpleGameButton applyDarkBlueQuickStyle];
+    [self.missionsButton applyDarkBlueQuickStyle];
+    
     // get the app's version
     NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:(NSString*)kCFBundleVersionKey];
 
@@ -243,6 +250,8 @@
     releaseAndNil(savedGamesViewController);
     releaseAndNil(restoreViewController);
     releaseAndNil(missionsViewController);
+    [_simpleGameButton release];
+    [_missionsButton release];
     [super dealloc];
 }