project_files/HedgewarsMobile/Classes/WeaponCellView.h
author koda
Thu, 15 Jul 2010 03:28:29 +0200
changeset 3643 858b20bafb6e
parent 3624 304c6d32383a
child 3644 42c5684289ae
permissions -rw-r--r--
reworked the ammunition configuration page (visually)
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
3643
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    13
-(void) valueChanged:(id) sender;
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;
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
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;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    26
    
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;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    32
    
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;
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
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