project_files/HedgewarsMobile/Classes/HWUtils.h
changeset 6208 b831679e9467
parent 6108 7a8da11a6144
child 6246 6b2d19ed521a
equal deleted inserted replaced
6207:cbc80c22691c 6208:b831679e9467
    25 
    25 
    26 }
    26 }
    27 
    27 
    28 +(NSString *)modelType;
    28 +(NSString *)modelType;
    29 +(NSArray *)teamColors;
    29 +(NSArray *)teamColors;
       
    30 +(void) releaseCache;
    30 
    31 
    31 @end
    32 @end
    32 
    33 
    33 
       
    34 @interface UITableView (extra)
       
    35 
       
    36 -(void) setBackgroundColorForAnyTable:(UIColor *)color;
       
    37 
       
    38 @end
       
    39 
       
    40 
       
    41 @interface UIColor (extra)
       
    42 
       
    43 +(UIColor *)darkYellowColor;
       
    44 +(UIColor *)lightYellowColor;
       
    45 +(UIColor *)darkBlueColor;
       
    46 +(UIColor *)darkBlueColorTransparent;
       
    47 +(UIColor *)blackColorTransparent;
       
    48 
       
    49 @end
       
    50 
       
    51 
       
    52 @interface UILabel (extra)
       
    53 
       
    54 -(UILabel *)initWithFrame:(CGRect)frame andTitle:(NSString *)title;
       
    55 -(UILabel *)initWithFrame:(CGRect)frame andTitle:(NSString *)title  withBorderWidth:(CGFloat) borderWidth;
       
    56 -(UILabel *)initWithFrame:(CGRect)frame andTitle:(NSString *)title  withBorderWidth:(CGFloat) borderWidth
       
    57           withBorderColor:(UIColor *)borderColor withBackgroundColor:(UIColor *)backColor;
       
    58 
       
    59 @end
       
    60 
       
    61 
       
    62 @interface NSString (extra)
       
    63 
       
    64 -(NSString *)MD5hash;
       
    65 
       
    66 @end
       
    67