project_files/HedgewarsMobile/Classes/otherSrc/SquareButtonView.h
changeset 3514 59dbd31e9953
parent 3364 e5403e2bf02c
equal deleted inserted replaced
3513:f589230fa21b 3514:59dbd31e9953
       
     1 //
       
     2 //  HogButtonView.h
       
     3 //  HedgewarsMobile
       
     4 //
       
     5 //  Created by Vittorio on 20/04/10.
       
     6 //  Copyright 2010 __MyCompanyName__. All rights reserved.
       
     7 //
       
     8 
       
     9 #import <UIKit/UIKit.h>
       
    10 
       
    11 
       
    12 @interface SquareButtonView : UIButton {
       
    13     NSInteger colorIndex;
       
    14     NSUInteger selectedColor;
       
    15     NSArray *colorArray;
       
    16     NSMutableDictionary *ownerDictionary;
       
    17 }
       
    18 
       
    19 @property (nonatomic,retain) NSArray *colorArray;
       
    20 @property (nonatomic) NSUInteger selectedColor;
       
    21 @property (nonatomic,retain) NSMutableDictionary *ownerDictionary;
       
    22 
       
    23 -(void) nextColor;
       
    24 -(void) selectColor:(NSUInteger) color;
       
    25 
       
    26 @end