equal
deleted
inserted
replaced
48 #define MSG_DIDUNLOAD() DLog(@"unloaded"); |
48 #define MSG_DIDUNLOAD() DLog(@"unloaded"); |
49 |
49 |
50 #define UICOLOR_HW_YELLOW_BODER [UIColor colorWithRed:(CGFloat)0xFE/255 green:(CGFloat)0xC0/255 blue:0 alpha:1] |
50 #define UICOLOR_HW_YELLOW_BODER [UIColor colorWithRed:(CGFloat)0xFE/255 green:(CGFloat)0xC0/255 blue:0 alpha:1] |
51 #define UICOLOR_HW_YELLOW_TEXT [UIColor colorWithRed:(CGFloat)0xF0/255 green:(CGFloat)0xD0/255 blue:0 alpha:1] |
51 #define UICOLOR_HW_YELLOW_TEXT [UIColor colorWithRed:(CGFloat)0xF0/255 green:(CGFloat)0xD0/255 blue:0 alpha:1] |
52 #define UICOLOR_HW_DARKBLUE [UIColor colorWithRed:(CGFloat)0x0F/255 green:0 blue:(CGFloat)0x42/255 alpha:1] |
52 #define UICOLOR_HW_DARKBLUE [UIColor colorWithRed:(CGFloat)0x0F/255 green:0 blue:(CGFloat)0x42/255 alpha:1] |
|
53 #define UICOLOR_HW_ALPHABLUE [UIColor colorWithRed:(CGFloat)0x0F/255 green:0 blue:(CGFloat)0x42/255 alpha:0.58f] |
53 |
54 |
54 #define IS_DUALHEAD() ([[UIScreen screens] count] > 1) |
55 #define IS_DUALHEAD() ([[UIScreen screens] count] > 1) |
55 |
56 |
56 #define DEFAULT_NETGAME_PORT 46631 |
57 #define DEFAULT_NETGAME_PORT 46631 |
57 |
58 |
65 BOOL rotationManager (UIInterfaceOrientation interfaceOrientation); |
66 BOOL rotationManager (UIInterfaceOrientation interfaceOrientation); |
66 BOOL isApplePhone (void); |
67 BOOL isApplePhone (void); |
67 NSInteger randomPort (void); |
68 NSInteger randomPort (void); |
68 NSString *modelType (void); |
69 NSString *modelType (void); |
69 NSArray *getAvailableColors (void); |
70 NSArray *getAvailableColors (void); |
|
71 UILabel *createBlueLabel (NSString *title, CGRect frame); |
|
72 UILabel *createLabelWithParams (NSString *title, CGRect frame, CGFloat borderWidth, UIColor *borderColor, UIColor *backgroundColor); |