project_files/HedgewarsMobile/Classes/WeaponCellView.h
author koda
Mon, 02 Aug 2010 00:55:24 +0200
changeset 3703 12d17c6e8855
parent 3644 42c5684289ae
child 3766 36b625111609
permissions -rw-r--r--
halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
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
3643
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    22
    UISlider *initialQt;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    23
    UISlider *probabilityQt;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    24
    UISlider *delayQt;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    25
    UISlider *crateQt;
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;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    29
    UIImageView *probabImg;
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;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    34
    UILabel *probLab;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    35
    UILabel *delLab;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    36
    UILabel *craLab;
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    37
}
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    38
3624
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    39
@property (nonatomic,assign) id<WeaponButtonControllerDelegate> delegate;
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    40
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    41
@property (nonatomic,retain) UILabel *weaponName;
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    42
@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
    43
3643
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    44
@property (nonatomic,retain) UISlider *initialQt;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    45
@property (nonatomic,retain) UISlider *probabilityQt;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    46
@property (nonatomic,retain) UISlider *delayQt;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    47
@property (nonatomic,retain) UISlider *crateQt;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    48
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    49
@property (nonatomic,retain) UIImageView *initialImg;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    50
@property (nonatomic,retain) UIImageView *probabImg;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    51
@property (nonatomic,retain) UIImageView *delayImg;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    52
@property (nonatomic,retain) UIImageView *crateImg;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    53
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    54
@property (nonatomic,retain) UILabel *initialLab;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    55
@property (nonatomic,retain) UILabel *probLab;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    56
@property (nonatomic,retain) UILabel *delLab;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    57
@property (nonatomic,retain) UILabel *craLab;
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    58
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    59
@end