project_files/HedgewarsMobile/Classes/SquareButtonView.h
author smaxx
Wed, 04 Aug 2010 17:35:45 +0200
changeset 3724 b8678667e7dc
parent 3547 02875b1145b7
child 3829 81db3c85784b
permissions -rw-r--r--
Engine: * Added Lua's table module
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3547
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     1
//
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     2
//  HogButtonView.h
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     3
//  HedgewarsMobile
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     4
//
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     5
//  Created by Vittorio on 20/04/10.
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     7
//
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     8
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     9
#import <UIKit/UIKit.h>
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    10
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    11
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    12
@interface SquareButtonView : UIButton {
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    13
    NSInteger colorIndex;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    14
    NSUInteger selectedColor;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    15
    NSArray *colorArray;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    16
    NSMutableDictionary *ownerDictionary;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    17
}
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    18
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    19
@property (nonatomic,retain) NSArray *colorArray;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    20
@property (nonatomic) NSUInteger selectedColor;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    21
@property (nonatomic,retain) NSMutableDictionary *ownerDictionary;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    22
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    23
-(void) nextColor;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    24
-(void) selectColor:(NSUInteger) color;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    25
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    26
@end