diff options
author | Vitaly Takmazov | 2013-12-18 05:53:29 +0400 |
---|---|---|
committer | Vitaly Takmazov | 2013-12-18 05:53:29 +0400 |
commit | ce630eef61d4acd8f5c4e1d6a3a60780c5ec4af3 (patch) | |
tree | 7b3364a9e343ec728d7e4886c61c89330b096986 /Juick/ColorsAndButtons.m | |
parent | a4d2e426a36111a2da3683025ab129ef701d5a3f (diff) |
cleanup and ios6 fixes
Diffstat (limited to 'Juick/ColorsAndButtons.m')
-rw-r--r-- | Juick/ColorsAndButtons.m | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/Juick/ColorsAndButtons.m b/Juick/ColorsAndButtons.m deleted file mode 100644 index c99707d..0000000 --- a/Juick/ColorsAndButtons.m +++ /dev/null @@ -1,50 +0,0 @@ -// -// Colors.m -// Juick -// -// Created by Vitaly Takmazov on 05.11.13. -// Copyright (c) 2013 com.juick. All rights reserved. -// - -#import "ColorsAndButtons.h" -#import "UIImage+Crop.h" - -UIImage *buttons; - -@implementation ColorsAndButtons - -+ (void) initialize -{ - [super initialize]; - buttons = [UIImage imageNamed:@"buttons.png"]; -} - - -+ (UIColor *) mainBackground { - return [UIColor colorWithRed:238/255.0f green:238/255.0f blue:229/255.0f alpha:1.0f]; -} - -+ (UIColor *) linkColor { - return [UIColor colorWithRed:0/255.0f green:102/255.0f blue:153/255.0f alpha:1.0f]; -} - -+ (UIColor *) navbarBackground { - return [UIColor colorWithRed:51/255.0f green:51/255.0f blue:51/255.0f alpha:1]; -} - -+ (UIColor *) navbarFont { - return [UIColor colorWithRed:153/255.0f green:154/255.0f blue:153/255.0f alpha:1]; -} - -+(UIImage *) homeImage { - return [buttons crop:CGRectMake(142, 0, 32, 32)]; -} -+ (UIImage *) discoverImage { - return [buttons crop:CGRectMake(174, 0, 32, 32)]; -} - -+ (UIImage *) logo { - return [buttons crop:CGRectMake(0, 0, 109, 32)]; -} - -@end |