author | nemo |
Mon, 27 Dec 2010 12:51:08 -0500 | |
branch | 0.9.15 |
changeset 4723 | 29ab0d49c3e6 |
parent 3829 | 81db3c85784b |
child 4976 | 088d40d8aba2 |
permissions | -rw-r--r-- |
3829 | 1 |
/* |
2 |
* Hedgewars-iOS, a Hedgewars port for iOS devices |
|
3 |
* Copyright (c) 2009-2010 Vittorio Giovara <vittorio.giovara@gmail.com> |
|
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 |
|
16 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
17 |
* |
|
18 |
* File created on 03/07/2010. |
|
19 |
*/ |
|
20 |
||
3621 | 21 |
|
22 |
#import <UIKit/UIKit.h> |
|
23 |
||
3624 | 24 |
@protocol WeaponButtonControllerDelegate <NSObject> |
25 |
||
3644
42c5684289ae
finished ammo configuration (which is the last page missing in config \o/)
koda
parents:
3643
diff
changeset
|
26 |
-(void) updateValues:(NSArray *)withArray atIndex:(NSInteger) index; |
3624 | 27 |
|
28 |
@end |
|
3621 | 29 |
|
30 |
@interface WeaponCellView : UITableViewCell { |
|
3624 | 31 |
id<WeaponButtonControllerDelegate> delegate; |
3621 | 32 |
UILabel *weaponName; |
33 |
UIImageView *weaponIcon; |
|
3703
12d17c6e8855
halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
3644
diff
changeset
|
34 |
|
3766
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
35 |
UISlider *initialSli; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
36 |
UISlider *probabilitySli; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
37 |
UISlider *delaySli; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
38 |
UISlider *crateSli; |
3703
12d17c6e8855
halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
3644
diff
changeset
|
39 |
|
3643
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
40 |
@private |
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
41 |
UIImageView *initialImg; |
3766
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
42 |
UIImageView *probabilityImg; |
3643
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
43 |
UIImageView *delayImg; |
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
44 |
UIImageView *crateImg; |
3703
12d17c6e8855
halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
3644
diff
changeset
|
45 |
|
3643
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
46 |
UILabel *initialLab; |
3766
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
47 |
UILabel *probabilityLab; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
48 |
UILabel *delayLab; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
49 |
UILabel *crateLab; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
50 |
|
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
51 |
UILabel *helpLabel; |
3621 | 52 |
} |
53 |
||
3624 | 54 |
@property (nonatomic,assign) id<WeaponButtonControllerDelegate> delegate; |
55 |
||
3621 | 56 |
@property (nonatomic,retain) UILabel *weaponName; |
57 |
@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
|
58 |
|
3766
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
59 |
@property (nonatomic,retain) UISlider *initialSli; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
60 |
@property (nonatomic,retain) UISlider *probabilitySli; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
61 |
@property (nonatomic,retain) UISlider *delaySli; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
62 |
@property (nonatomic,retain) UISlider *crateSli; |
3643
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
63 |
|
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
64 |
@property (nonatomic,retain) UIImageView *initialImg; |
3766
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
65 |
@property (nonatomic,retain) UIImageView *probabilityImg; |
3643
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
66 |
@property (nonatomic,retain) UIImageView *delayImg; |
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
67 |
@property (nonatomic,retain) UIImageView *crateImg; |
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
68 |
|
858b20bafb6e
reworked the ammunition configuration page (visually)
koda
parents:
3624
diff
changeset
|
69 |
@property (nonatomic,retain) UILabel *initialLab; |
3766
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
70 |
@property (nonatomic,retain) UILabel *probabilityLab; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
71 |
@property (nonatomic,retain) UILabel *delayLab; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
72 |
@property (nonatomic,retain) UILabel *crateLab; |
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
73 |
|
36b625111609
add a little explanation when modifying weaponset in ifrontend
koda
parents:
3703
diff
changeset
|
74 |
@property (nonatomic,retain) UILabel *helpLabel; |
3621 | 75 |
|
76 |
@end |