Skip to content

Commit

Permalink
Categories colors are now a bit more flashy - #13
Browse files Browse the repository at this point in the history
  • Loading branch information
akervern committed Nov 11, 2011
1 parent 6f99834 commit 2aaf6ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iOS/sosmessage/sosmessage/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ - (void)addSOSCategory:(NSString*)label inPosX:(int)posX andPosY:(int)posY {
//NSLog(@"Place label (%@) at (%.2f;%.2f) with size (%.2f;%.2f)", label, rectX, rectY, rectWidth, rectHeight);

UILabel* uiLabel = [[[UILabel alloc] initWithFrame:CGRectMake(rectX, posY, rectWidth, rectHeight)] autorelease];
uiLabel.backgroundColor = [UIColor colorWithHue:label.hue saturation:0.4 brightness:0.9 alpha:1.0];
uiLabel.backgroundColor = [UIColor colorWithHue:label.hue saturation:0.55 brightness:0.9 alpha:1.0];
uiLabel.text = label;
uiLabel.font = SOSFONT;
uiLabel.textAlignment = UITextAlignmentCenter;
Expand Down

0 comments on commit 2aaf6ba

Please sign in to comment.