project_files/HedgewarsMobile/Classes/WeaponCellView.h
author koda
Wed, 25 Aug 2010 01:30:25 +0200
changeset 3766 36b625111609
parent 3703 12d17c6e8855
child 3829 81db3c85784b
permissions -rw-r--r--
add a little explanation when modifying weaponset in 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) updateValues:(NSArray *)withArray atIndex:(NSInteger) index;

@end

@interface WeaponCellView : UITableViewCell {
    id<WeaponButtonControllerDelegate> delegate;
    UILabel *weaponName;
    UIImageView *weaponIcon;

    UISlider *initialSli;
    UISlider *probabilitySli;
    UISlider *delaySli;
    UISlider *crateSli;

@private
    UIImageView *initialImg;
    UIImageView *probabilityImg;
    UIImageView *delayImg;
    UIImageView *crateImg;

    UILabel *initialLab;
    UILabel *probabilityLab;
    UILabel *delayLab;
    UILabel *crateLab;

    UILabel *helpLabel;
}

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

@property (nonatomic,retain) UILabel *weaponName;
@property (nonatomic,retain) UIImageView *weaponIcon;

@property (nonatomic,retain) UISlider *initialSli;
@property (nonatomic,retain) UISlider *probabilitySli;
@property (nonatomic,retain) UISlider *delaySli;
@property (nonatomic,retain) UISlider *crateSli;

@property (nonatomic,retain) UIImageView *initialImg;
@property (nonatomic,retain) UIImageView *probabilityImg;
@property (nonatomic,retain) UIImageView *delayImg;
@property (nonatomic,retain) UIImageView *crateImg;

@property (nonatomic,retain) UILabel *initialLab;
@property (nonatomic,retain) UILabel *probabilityLab;
@property (nonatomic,retain) UILabel *delayLab;
@property (nonatomic,retain) UILabel *crateLab;

@property (nonatomic,retain) UILabel *helpLabel;

@end