project_files/HedgewarsMobile/Classes/MapConfigViewController.m
changeset 3625 9f1d79e01a60
parent 3623 f14db208f2fa
child 3642 fb39fecca350
equal deleted inserted replaced
3624:304c6d32383a 3625:9f1d79e01a60
   282     UITableViewCell *cell = [aTableView dequeueReusableCellWithIdentifier:CellIdentifier];
   282     UITableViewCell *cell = [aTableView dequeueReusableCellWithIdentifier:CellIdentifier];
   283     if (cell == nil) 
   283     if (cell == nil) 
   284         cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
   284         cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
   285     
   285     
   286     if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
   286     if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
   287         cell.textLabel.textColor = [UIColor yellowColor]; //TODO: find proper color
   287         cell.textLabel.textColor = [UIColor colorWithRed:(CGFloat)0xFE/255 green:(CGFloat)0xCB/255 blue:0 alpha:1 ];
   288     }
   288     }
   289     
   289     
   290     if (self.segmentedControl.selectedSegmentIndex != 1) {
   290     if (self.segmentedControl.selectedSegmentIndex != 1) {
   291         // the % prevents a strange bug that occurs sporadically
   291         // the % prevents a strange bug that occurs sporadically
   292         NSString *themeName = [self.themeArray objectAtIndex:row % [self.themeArray count]];
   292         NSString *themeName = [self.themeArray objectAtIndex:row % [self.themeArray count]];