project_files/HedgewarsMobile/Classes/WeaponCellView.h
author koda
Thu, 15 Jul 2010 01:18:51 +0200
changeset 3642 fb39fecca350
parent 3624 304c6d32383a
child 3643 858b20bafb6e
permissions -rw-r--r--
support for static map added to iFrontend

//
//  WeaponCellView.h
//  Hedgewars
//
//  Created by Vittorio on 03/07/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol WeaponButtonControllerDelegate <NSObject>

-(void) buttonPressed:(id) sender;

@end

@interface WeaponCellView : UITableViewCell {
    id<WeaponButtonControllerDelegate> delegate;
    UILabel *weaponName;
    UIImageView *weaponIcon;
    
    UIButton *initialQt;
    UIButton *probability;
    UIButton *delay;
    UIButton *crateQt;
}

@property (nonatomic,assign) id<WeaponButtonControllerDelegate> delegate;

@property (nonatomic,retain) UILabel *weaponName;
@property (nonatomic,retain) UIImageView *weaponIcon;
    
@property (nonatomic,retain) UIButton *initialQt;
@property (nonatomic,retain) UIButton *probability;
@property (nonatomic,retain) UIButton *delay;
@property (nonatomic,retain) UIButton *crateQt;

@end