author | nemo |
Tue, 28 Oct 2014 09:56:28 -0400 | |
changeset 10449 | d108ca108ef3 |
parent 10108 | c68cf030eded |
child 12872 | 00215a7ec5f5 |
permissions | -rw-r--r-- |
3829 | 1 |
/* |
2 |
* Hedgewars-iOS, a Hedgewars port for iOS devices |
|
6700 | 3 |
* Copyright (c) 2009-2012 Vittorio Giovara <vittorio.giovara@gmail.com> |
3829 | 4 |
* |
5 |
* This program is free software; you can redistribute it and/or modify |
|
6 |
* it under the terms of the GNU General Public License as published by |
|
7 |
* the Free Software Foundation; version 2 of the License |
|
8 |
* |
|
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program; if not, write to the Free Software |
|
10108
c68cf030eded
update FSF address. note: two sdl include files (by Sam Lantinga) still have the old FSF address in their copyright - but I ain't gonna touch their copyright headers
sheepluva
parents:
6832
diff
changeset
|
16 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
3829 | 17 |
*/ |
18 |
||
3621 | 19 |
|
20 |
#import <UIKit/UIKit.h> |
|
21 |
||
6832 | 22 |
|
3624 | 23 |
@protocol WeaponButtonControllerDelegate <NSObject> |
24 |
||
3644
42c5684289ae
finished ammo configuration (which is the last page missing in config \o/)
koda
parents:
3643
diff
changeset
|
25 |
-(void) updateValues:(NSArray *)withArray atIndex:(NSInteger) index; |
3624 | 26 |
|
27 |
@end |
|
3621 | 28 |
|
29 |
@interface WeaponCellView : UITableViewCell { |
|
3624 | 30 |
id<WeaponButtonControllerDelegate> delegate; |
3621 | 31 |
UILabel *weaponName; |
32 |
UIImageView *weaponIcon; |
|
3703
12d17c6e8855
halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
3644
diff
changeset
|
33 |
|
3766
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
34 |
UISlider *initialSli; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
35 |
UISlider *probabilitySli; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
36 |
UISlider *delaySli; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
37 |
UISlider *crateSli; |
3703
12d17c6e8855
halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
3644
diff
changeset
|
38 |
|
3643
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
39 |
@private |
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
40 |
UIImageView *initialImg; |
3766
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
41 |
UIImageView *probabilityImg; |
3643
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
42 |
UIImageView *delayImg; |
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
43 |
UIImageView *crateImg; |
3703
12d17c6e8855
halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
3644
diff
changeset
|
44 |
|
3643
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
45 |
UILabel *initialLab; |
3766
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
46 |
UILabel *probabilityLab; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
47 |
UILabel *delayLab; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
48 |
UILabel *crateLab; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
49 |
|
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
50 |
UILabel *helpLabel; |
3621 | 51 |
} |
52 |
||
3624 | 53 |
@property (nonatomic,assign) id<WeaponButtonControllerDelegate> delegate; |
54 |
||
3621 | 55 |
@property (nonatomic,retain) UILabel *weaponName; |
56 |
@property (nonatomic,retain) UIImageView *weaponIcon; |
|
3703
12d17c6e8855
halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
3644
diff
changeset
|
57 |
|
3766
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
58 |
@property (nonatomic,retain) UISlider *initialSli; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
59 |
@property (nonatomic,retain) UISlider *probabilitySli; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
60 |
@property (nonatomic,retain) UISlider *delaySli; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
61 |
@property (nonatomic,retain) UISlider *crateSli; |
3643
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
62 |
|
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
63 |
@property (nonatomic,retain) UIImageView *initialImg; |
3766
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
64 |
@property (nonatomic,retain) UIImageView *probabilityImg; |
3643
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
65 |
@property (nonatomic,retain) UIImageView *delayImg; |
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
66 |
@property (nonatomic,retain) UIImageView *crateImg; |
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
67 |
|
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
68 |
@property (nonatomic,retain) UILabel *initialLab; |
3766
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
69 |
@property (nonatomic,retain) UILabel *probabilityLab; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
70 |
@property (nonatomic,retain) UILabel *delayLab; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
71 |
@property (nonatomic,retain) UILabel *crateLab; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
72 |
|
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
73 |
@property (nonatomic,retain) UILabel *helpLabel; |
3621 | 74 |
|
75 |
@end |