project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m
changeset 6220 39782c4d9246
parent 6209 074ab6ebcb3e
child 6247 6dfad55fd71c
equal deleted inserted replaced
6219:c193881389c1 6220:39782c4d9246
   114         aTableView.contentInset = UIEdgeInsetsMake(5, 0, 5, 0);
   114         aTableView.contentInset = UIEdgeInsetsMake(5, 0, 5, 0);
   115     } else {
   115     } else {
   116         UIImage *backgroundImage = [[UIImage alloc] initWithContentsOfFile:@"background~iphone.png"];
   116         UIImage *backgroundImage = [[UIImage alloc] initWithContentsOfFile:@"background~iphone.png"];
   117         UIImageView *background = [[UIImageView alloc] initWithImage:backgroundImage];
   117         UIImageView *background = [[UIImageView alloc] initWithImage:backgroundImage];
   118         [backgroundImage release];
   118         [backgroundImage release];
   119         [aTableView setBackgroundView:background];
   119         [self.view addSubview:background];
   120         [background release];
   120         [background release];
       
   121         [aTableView setBackgroundColorForAnyTable:[UIColor clearColor]];
   121     }
   122     }
   122 
   123 
   123     aTableView.indicatorStyle = UIScrollViewIndicatorStyleWhite;
   124     aTableView.indicatorStyle = UIScrollViewIndicatorStyleWhite;
   124     aTableView.separatorColor = [UIColor whiteColor];
   125     aTableView.separatorColor = [UIColor whiteColor];
   125     aTableView.separatorStyle = UITableViewCellSeparatorStyleNone;
   126     aTableView.separatorStyle = UITableViewCellSeparatorStyleNone;