equal
deleted
inserted
replaced
137 NSString *labelString = [source objectAtIndex:row]; |
137 NSString *labelString = [source objectAtIndex:row]; |
138 cell.textLabel.text = labelString; |
138 cell.textLabel.text = labelString; |
139 cell.textLabel.adjustsFontSizeToFitWidth = YES; |
139 cell.textLabel.adjustsFontSizeToFitWidth = YES; |
140 cell.textLabel.minimumFontSize = 7; |
140 cell.textLabel.minimumFontSize = 7; |
141 cell.textLabel.textColor = UICOLOR_HW_YELLOW_TEXT; |
141 cell.textLabel.textColor = UICOLOR_HW_YELLOW_TEXT; |
|
142 cell.textLabel.backgroundColor = [UIColor clearColor]; |
142 |
143 |
143 if (isRandomness()) { |
144 if (isRandomness()) { |
144 UIImage *image = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/%@/icon.png",THEMES_DIRECTORY(),labelString]]; |
145 UIImage *image = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/%@/icon.png",THEMES_DIRECTORY(),labelString]]; |
145 cell.imageView.image = image; |
146 cell.imageView.image = image; |
146 [image release]; |
147 [image release]; |
152 cell.accessoryView = checkbox; |
153 cell.accessoryView = checkbox; |
153 [checkbox release]; |
154 [checkbox release]; |
154 } else |
155 } else |
155 cell.accessoryView = nil; |
156 cell.accessoryView = nil; |
156 |
157 |
157 cell.backgroundColor = [UIColor blackColor]; |
158 cell.backgroundColor = UICOLOR_HW_ALMOSTBLACK; |
158 return cell; |
159 return cell; |
159 } |
160 } |
160 |
161 |
161 // this set details for a static map (called by didSelectRowAtIndexPath) |
162 // this set details for a static map (called by didSelectRowAtIndexPath) |
162 -(void) setDetailsForStaticMap:(NSInteger) index { |
163 -(void) setDetailsForStaticMap:(NSInteger) index { |