8 |
8 |
9 #import <UIKit/UIKit.h> |
9 #import <UIKit/UIKit.h> |
10 |
10 |
11 @protocol WeaponButtonControllerDelegate <NSObject> |
11 @protocol WeaponButtonControllerDelegate <NSObject> |
12 |
12 |
13 -(void) buttonPressed:(id) sender; |
13 -(void) valueChanged:(id) sender; |
14 |
14 |
15 @end |
15 @end |
16 |
16 |
17 @interface WeaponCellView : UITableViewCell { |
17 @interface WeaponCellView : UITableViewCell { |
18 id<WeaponButtonControllerDelegate> delegate; |
18 id<WeaponButtonControllerDelegate> delegate; |
19 UILabel *weaponName; |
19 UILabel *weaponName; |
20 UIImageView *weaponIcon; |
20 UIImageView *weaponIcon; |
21 |
21 |
22 UIButton *initialQt; |
22 UISlider *initialQt; |
23 UIButton *probability; |
23 UISlider *probabilityQt; |
24 UIButton *delay; |
24 UISlider *delayQt; |
25 UIButton *crateQt; |
25 UISlider *crateQt; |
|
26 |
|
27 @private |
|
28 UIImageView *initialImg; |
|
29 UIImageView *probabImg; |
|
30 UIImageView *delayImg; |
|
31 UIImageView *crateImg; |
|
32 |
|
33 UILabel *initialLab; |
|
34 UILabel *probLab; |
|
35 UILabel *delLab; |
|
36 UILabel *craLab; |
26 } |
37 } |
27 |
38 |
28 @property (nonatomic,assign) id<WeaponButtonControllerDelegate> delegate; |
39 @property (nonatomic,assign) id<WeaponButtonControllerDelegate> delegate; |
29 |
40 |
30 @property (nonatomic,retain) UILabel *weaponName; |
41 @property (nonatomic,retain) UILabel *weaponName; |
31 @property (nonatomic,retain) UIImageView *weaponIcon; |
42 @property (nonatomic,retain) UIImageView *weaponIcon; |
32 |
43 |
33 @property (nonatomic,retain) UIButton *initialQt; |
44 @property (nonatomic,retain) UISlider *initialQt; |
34 @property (nonatomic,retain) UIButton *probability; |
45 @property (nonatomic,retain) UISlider *probabilityQt; |
35 @property (nonatomic,retain) UIButton *delay; |
46 @property (nonatomic,retain) UISlider *delayQt; |
36 @property (nonatomic,retain) UIButton *crateQt; |
47 @property (nonatomic,retain) UISlider *crateQt; |
|
48 |
|
49 @property (nonatomic,retain) UIImageView *initialImg; |
|
50 @property (nonatomic,retain) UIImageView *probabImg; |
|
51 @property (nonatomic,retain) UIImageView *delayImg; |
|
52 @property (nonatomic,retain) UIImageView *crateImg; |
|
53 |
|
54 @property (nonatomic,retain) UILabel *initialLab; |
|
55 @property (nonatomic,retain) UILabel *probLab; |
|
56 @property (nonatomic,retain) UILabel *delLab; |
|
57 @property (nonatomic,retain) UILabel *craLab; |
37 |
58 |
38 @end |
59 @end |