0213c5f77e378ac58cd384474c684814b31db0d6
[atutor.git] / mods / atsocial_iphone_app / Classes / StyleSheet.m
1 //
2 //  StyleSheet.m
3 //  ATutor
4 //
5 //  Created by Quang Anh Do on 25/05/2010.
6 //  Copyright 2010 Quang Anh Do. All rights reserved.
7 //
8
9 #import "StyleSheet.h"
10
11
12 @implementation StyleSheet
13
14 - (TTStyle*)launcherButton:(UIControlState)state {
15         return
16     [TTPartStyle styleWithName:@"image" style:TTSTYLESTATE(launcherButtonImage:, state) next:
17          [TTTextStyle styleWithFont:[UIFont boldSystemFontOfSize:11] color:[UIColor blackColor]
18                                 minimumFontSize:11 shadowColor:nil
19                                    shadowOffset:CGSizeZero next:nil]];
20 }
21
22 - (TTStyle*)launcherPageDot:(UIControlState)state {
23         if (state != UIControlStateSelected) {
24                 return [self pageDotWithColor:[UIColor whiteColor]];
25         } else {
26                 return [self pageDotWithColor:[UIColor colorWithRed:0.227 green:0.455 blue:0.647 alpha:1.000]];
27         }
28 }
29
30 @end