project_files/HedgewarsMobile/Classes/SavedGamesViewController.m
changeset 4030 adbb37b8c487
parent 3996 eb549fd864a5
child 4082 bfe14b38dad1
--- a/project_files/HedgewarsMobile/Classes/SavedGamesViewController.m	Sun Oct 31 01:49:20 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/SavedGamesViewController.m	Sun Oct 31 04:01:31 2010 +0100
@@ -41,6 +41,14 @@
 
 -(void) viewDidLoad {
     self.tableView.backgroundView = nil;
+        NSString *imgName;
+    if (IS_IPAD())
+        imgName = @"mediumBackground~ipad.png";
+    else
+        imgName = @"smallerBackground~iphone.png";
+    UIImage *img = [[UIImage alloc] initWithContentsOfFile:imgName];
+    self.view.backgroundColor = [UIColor colorWithPatternImage:img];
+    [img release];
     [super viewDidLoad];
 }