author | nemo |
Sat, 05 Nov 2011 20:09:48 -0400 | |
changeset 6294 | 34aa727d4a25 |
parent 6209 | 074ab6ebcb3e |
permissions | -rw-r--r-- |
6208
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
1 |
/* |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
2 |
* Hedgewars-iOS, a Hedgewars port for iOS devices |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
3 |
* Copyright (c) 2009-2010 Vittorio Giovara <vittorio.giovara@gmail.com> |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
4 |
* |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
5 |
* This program is free software; you can redistribute it and/or modify |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
6 |
* it under the terms of the GNU General Public License as published by |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
7 |
* the Free Software Foundation; version 2 of the License |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
8 |
* |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
9 |
* This program is distributed in the hope that it will be useful, |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
12 |
* GNU General Public License for more details. |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
13 |
* |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
14 |
* You should have received a copy of the GNU General Public License |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
15 |
* along with this program; if not, write to the Free Software |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
16 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
17 |
* |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
18 |
* File created on 25/10/2011. |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
19 |
*/ |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
20 |
|
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
21 |
|
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
22 |
#import <Foundation/Foundation.h> |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
23 |
|
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
24 |
|
6209 | 25 |
@interface UIScreen (safe) |
26 |
||
27 |
-(CGFloat) safeScale; |
|
28 |
||
29 |
@end |
|
30 |
||
31 |
||
6208
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
32 |
@interface UITableView (backgroundColor) |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
33 |
|
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
34 |
-(void) setBackgroundColorForAnyTable:(UIColor *)color; |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
35 |
|
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
36 |
@end |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
37 |
|
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
38 |
|
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
39 |
@interface UIColor (HWColors) |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
40 |
|
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
41 |
+(UIColor *)darkYellowColor; |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
42 |
+(UIColor *)lightYellowColor; |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
43 |
+(UIColor *)darkBlueColor; |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
44 |
+(UIColor *)darkBlueColorTransparent; |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
45 |
+(UIColor *)blackColorTransparent; |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
46 |
|
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
47 |
@end |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
48 |
|
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
49 |
|
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
50 |
@interface UILabel (quickStyle) |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
51 |
|
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
52 |
-(UILabel *)initWithFrame:(CGRect)frame andTitle:(NSString *)title; |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
53 |
-(UILabel *)initWithFrame:(CGRect)frame andTitle:(NSString *)title withBorderWidth:(CGFloat) borderWidth; |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
54 |
-(UILabel *)initWithFrame:(CGRect)frame andTitle:(NSString *)title withBorderWidth:(CGFloat) borderWidth |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
55 |
withBorderColor:(UIColor *)borderColor withBackgroundColor:(UIColor *)backColor; |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
56 |
|
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
57 |
@end |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
58 |
|
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
59 |
|
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
60 |
@interface NSString (MD5) |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
61 |
|
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
62 |
-(NSString *)MD5hash; |
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
63 |
|
b831679e9467
move all extra categories in a single source, add caching for HWUtils
koda
parents:
diff
changeset
|
64 |
@end |