project_files/HedgewarsMobile/Classes/WeaponCellView.h
author tiyuri@gmail.com
Thu, 02 Sep 2010 17:30:38 +0100
changeset 3809 4fe006966370
parent 3766 36b625111609
child 3829 81db3c85784b
permissions -rw-r--r--
another small update to sheep
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
     1
//
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
     2
//  WeaponCellView.h
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
     3
//  Hedgewars
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
     4
//
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
     5
//  Created by Vittorio on 03/07/10.
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
     7
//
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
     8
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
     9
#import <UIKit/UIKit.h>
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    10
3624
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    11
@protocol WeaponButtonControllerDelegate <NSObject>
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    12
3644
42c5684289ae finished ammo configuration (which is the last page missing in config \o/)
koda
parents: 3643
diff changeset
    13
-(void) updateValues:(NSArray *)withArray atIndex:(NSInteger) index;
3624
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    14
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    15
@end
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    16
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    17
@interface WeaponCellView : UITableViewCell {
3624
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    18
    id<WeaponButtonControllerDelegate> delegate;
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    19
    UILabel *weaponName;
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    20
    UIImageView *weaponIcon;
3703
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents: 3644
diff changeset
    21
3766
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    22
    UISlider *initialSli;
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    23
    UISlider *probabilitySli;
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    24
    UISlider *delaySli;
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    25
    UISlider *crateSli;
3703
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents: 3644
diff changeset
    26
3643
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    27
@private
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    28
    UIImageView *initialImg;
3766
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    29
    UIImageView *probabilityImg;
3643
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    30
    UIImageView *delayImg;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    31
    UIImageView *crateImg;
3703
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents: 3644
diff changeset
    32
3643
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    33
    UILabel *initialLab;
3766
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    34
    UILabel *probabilityLab;
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    35
    UILabel *delayLab;
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    36
    UILabel *crateLab;
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    37
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    38
    UILabel *helpLabel;
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    39
}
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    40
3624
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    41
@property (nonatomic,assign) id<WeaponButtonControllerDelegate> delegate;
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    42
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    43
@property (nonatomic,retain) UILabel *weaponName;
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    44
@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
    45
3766
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    46
@property (nonatomic,retain) UISlider *initialSli;
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    47
@property (nonatomic,retain) UISlider *probabilitySli;
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    48
@property (nonatomic,retain) UISlider *delaySli;
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    49
@property (nonatomic,retain) UISlider *crateSli;
3643
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    50
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    51
@property (nonatomic,retain) UIImageView *initialImg;
3766
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    52
@property (nonatomic,retain) UIImageView *probabilityImg;
3643
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    53
@property (nonatomic,retain) UIImageView *delayImg;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    54
@property (nonatomic,retain) UIImageView *crateImg;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    55
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    56
@property (nonatomic,retain) UILabel *initialLab;
3766
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    57
@property (nonatomic,retain) UILabel *probabilityLab;
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    58
@property (nonatomic,retain) UILabel *delayLab;
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    59
@property (nonatomic,retain) UILabel *crateLab;
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    60
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    61
@property (nonatomic,retain) UILabel *helpLabel;
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    62
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    63
@end