0004-Fix-color-set.patch 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From e27bb10fa7d223381dcdb13cba9824cbb4cce2b5 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
  3. Date: Sat, 24 Aug 2013 22:44:29 +0200
  4. Subject: [PATCH 4/4] Fix color set
  5. ---
  6. Demo/GHMenuCell.m | 4 ++--
  7. 1 file changed, 2 insertions(+), 2 deletions(-)
  8. diff --git a/Demo/GHMenuCell.m b/Demo/GHMenuCell.m
  9. index 3111271..0269b64 100644
  10. --- a/Demo/GHMenuCell.m
  11. +++ b/Demo/GHMenuCell.m
  12. @@ -24,7 +24,7 @@ NSString const *kSidebarCellImageKey = @"CellImage";
  13. self.backgroundColor = [UIColor colorWithRed:(43.0f/255.0f) green:(43.0f/255.0f) blue:(43.0f/255.0f) alpha:1.0f];
  14. UIView *bgView = [[UIView alloc] init];
  15. - bgView.backgroundColor = [UIColor colorWithRed:(65.0f/255.0f) green:(65.0f/255.0f) blue:(65.0f/255.0f) alpha:1.0f];
  16. + bgView.backgroundColor = [UIColor colorWithRed:0.1137 green:0.1137 blue:0.1137 alpha:1.0f];
  17. self.selectedBackgroundView = bgView;
  18. self.imageView.contentMode = UIViewContentModeCenter;
  19. @@ -35,7 +35,7 @@ NSString const *kSidebarCellImageKey = @"CellImage";
  20. self.textLabel.font = [UIFont fontWithName:@"Helvetica" size:([UIFont systemFontSize] * 1.2f)];
  21. self.textLabel.shadowOffset = CGSizeMake(0.0f, 1.0f);
  22. self.textLabel.shadowColor = [UIColor colorWithWhite:0.0f alpha:0.25f];
  23. - self.textLabel.textColor = [UIColor colorWithRed:(196.0f/255.0f) green:(204.0f/255.0f) blue:(218.0f/255.0f) alpha:1.0f];
  24. + self.textLabel.textColor = [UIColor whiteColor];
  25. self.textLabel.adjustsFontSizeToFitWidth = YES;
  26. if ([self.textLabel respondsToSelector:@selector(setAdjustsLetterSpacingToFitWidth:)])
  27. self.textLabel.adjustsLetterSpacingToFitWidth = YES;
  28. --
  29. 1.8.3.4 (Apple Git-47)