project_files/HedgewarsMobile/Classes/SquareButtonView.h
changeset 6914 e6094d329108
parent 6832 fae8fd118da9
child 10108 c68cf030eded
equal deleted inserted replaced
6913:73984ea24ff5 6914:e6094d329108
    19 
    19 
    20 #import <UIKit/UIKit.h>
    20 #import <UIKit/UIKit.h>
    21 
    21 
    22 
    22 
    23 @interface SquareButtonView : UIButton {
    23 @interface SquareButtonView : UIButton {
    24     NSInteger colorIndex;
    24     NSMutableDictionary *ownerDictionary;
       
    25     NSUInteger colorIndex;
    25     NSUInteger selectedColor;
    26     NSUInteger selectedColor;
    26     NSArray *colorArray;
    27     NSArray *colorArray;
    27     NSMutableDictionary *ownerDictionary;
       
    28 }
    28 }
    29 
    29 
       
    30 @property (nonatomic,retain) NSMutableDictionary *ownerDictionary;
    30 @property (nonatomic,retain) NSArray *colorArray;
    31 @property (nonatomic,retain) NSArray *colorArray;
    31 @property (nonatomic) NSUInteger selectedColor;
    32 @property (nonatomic,assign) NSUInteger selectedColor;
    32 @property (nonatomic,retain) NSMutableDictionary *ownerDictionary;
    33 @property (nonatomic,assign) NSUInteger colorIndex;
    33 
    34 
    34 -(void) nextColor;
    35 -(void) nextColor;
    35 -(void) selectColor:(NSUInteger) color;
    36 -(void) selectColor:(NSUInteger) color;
    36 
    37 
    37 @end
    38 @end