Menu colors.
|
@ -37,8 +37,8 @@
|
|||
initWithObjects:[@"Find Friends" uppercaseString],
|
||||
[@"Logout" uppercaseString], nil];
|
||||
|
||||
self.menuTableView.backgroundColor = UIColorFromRGB(0xF0FFF0);
|
||||
self.menuTableView.separatorColor = UIColorFromRGB(0x8AA378);
|
||||
self.menuTableView.backgroundColor = UIColorFromRGB(0xFFFFFF);
|
||||
self.menuTableView.separatorColor = UIColorFromRGB(0x909090);
|
||||
}
|
||||
|
||||
- (void)viewDidUnload
|
||||
|
|
|
@ -17,22 +17,17 @@
|
|||
// Initialization code
|
||||
self.textLabel.backgroundColor = [UIColor clearColor];
|
||||
self.textLabel.textColor = UIColorFromRGB(0x303030);
|
||||
self.textLabel.shadowColor = UIColorFromRGB(0xF0FFF0);
|
||||
self.textLabel.shadowColor = UIColorFromRGB(0xF0F0F0);
|
||||
self.textLabel.shadowOffset = CGSizeMake(0, 1);
|
||||
self.textLabel.font = [UIFont fontWithName:@"Helvetica-Bold" size:14.0];
|
||||
UIView *background = [[UIView alloc] init];
|
||||
[background setBackgroundColor:UIColorFromRGB(0xBAE3A8)];
|
||||
[background setBackgroundColor:UIColorFromRGB(0xFFFFFF)];
|
||||
[self setBackgroundView:background];
|
||||
|
||||
UIView *selectedBackground = [[UIView alloc] init];
|
||||
[selectedBackground setBackgroundColor:UIColorFromRGB(0x639510)];
|
||||
[selectedBackground setBackgroundColor:UIColorFromRGB(0xECEEEA)];
|
||||
[self setSelectedBackgroundView:selectedBackground];
|
||||
}
|
||||
if (self.selected) {
|
||||
self.textLabel.shadowColor = [UIColor blackColor];
|
||||
} else {
|
||||
self.textLabel.shadowColor = UIColorFromRGB(0xF0FFF0);
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
@ -42,32 +37,23 @@
|
|||
self.imageView.frame = CGRectMake(0, 0, self.frame.size.height, self.frame.size.height);
|
||||
self.imageView.contentMode = UIViewContentModeCenter;
|
||||
|
||||
self.textLabel.frame = CGRectMake(self.imageView.frame.size.width, 0, self.frame.size.width - self.imageView.frame.size.width, self.frame.size.height);
|
||||
self.textLabel.frame = CGRectMake(self.imageView.frame.size.width, 0,
|
||||
self.frame.size.width - self.imageView.frame.size.width,
|
||||
self.frame.size.height);
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
if (selected) {
|
||||
self.textLabel.shadowColor = [UIColor blackColor];
|
||||
self.textLabel.textColor = UIColorFromRGB(0xF0FFF0);
|
||||
} else {
|
||||
// self.textLabel.shadowColor = UIColorFromRGB(0xF0FFF0);
|
||||
self.textLabel.textColor = UIColorFromRGB(0x303030);
|
||||
}
|
||||
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
self.textLabel.shadowColor = UIColorFromRGB(0xF0F0F0);
|
||||
self.textLabel.textColor = UIColorFromRGB(0x303030);
|
||||
}
|
||||
|
||||
- (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated {
|
||||
|
||||
if (highlighted) {
|
||||
self.textLabel.shadowColor = [UIColor blackColor];
|
||||
self.textLabel.textColor = UIColorFromRGB(0xF0FFF0);
|
||||
} else {
|
||||
self.textLabel.shadowColor = UIColorFromRGB(0xF0FFF0);
|
||||
self.textLabel.textColor = UIColorFromRGB(0x303030);
|
||||
}
|
||||
|
||||
[super setHighlighted:highlighted animated:animated];
|
||||
|
||||
self.textLabel.shadowColor = UIColorFromRGB(0xF0F0F0);
|
||||
self.textLabel.textColor = UIColorFromRGB(0x303030);
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Before Width: | Height: | Size: 647 B After Width: | Height: | Size: 707 B |
Before Width: | Height: | Size: 658 B After Width: | Height: | Size: 560 B |
Before Width: | Height: | Size: 383 B After Width: | Height: | Size: 419 B |
Before Width: | Height: | Size: 393 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 302 B After Width: | Height: | Size: 323 B |