diff -r 018539298042 -r 76e96101a84f project_files/HedgewarsMobile/Classes/ExtraCategories.h --- a/project_files/HedgewarsMobile/Classes/ExtraCategories.h Sat Feb 18 19:07:19 2012 +0100 +++ b/project_files/HedgewarsMobile/Classes/ExtraCategories.h Sat Feb 18 19:29:16 2012 +0100 @@ -48,12 +48,19 @@ @end +@interface UIButton (quickStyle) + +-(id) initWithFrame:(CGRect) frame andTitle:(NSString *)title; + +@end + + @interface UILabel (quickStyle) --(UILabel *)initWithFrame:(CGRect)frame andTitle:(NSString *)title; --(UILabel *)initWithFrame:(CGRect)frame andTitle:(NSString *)title withBorderWidth:(CGFloat) borderWidth; --(UILabel *)initWithFrame:(CGRect)frame andTitle:(NSString *)title withBorderWidth:(CGFloat) borderWidth - withBorderColor:(UIColor *)borderColor withBackgroundColor:(UIColor *)backColor; +-(id) initWithFrame:(CGRect)frame andTitle:(NSString *)title; +-(id) initWithFrame:(CGRect)frame andTitle:(NSString *)title withBorderWidth:(CGFloat) borderWidth; +-(id) initWithFrame:(CGRect)frame andTitle:(NSString *)title withBorderWidth:(CGFloat) borderWidth + withBorderColor:(UIColor *)borderColor withBackgroundColor:(UIColor *)backColor; @end