cocoaTouch/otherSrc/SquareButtonView.h
author koda
Thu, 17 Jun 2010 19:57:51 +0200
changeset 3513 f589230fa21b
parent 3364 e5403e2bf02c
permissions -rw-r--r--
now it's possible to select the scheme file in the ifrontendfix a type about loading an image (iphone file system IS case senstive) add rotation for iphone build too make the ifrontend work again with 3.0 sdk reworked openalbridge following most of an old implementation by Smaxx and making it more modular -- now sources are limited but the memory extension and cleanup is todo nil'd many variables in engine that were causing intialization problems
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3361
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
     1
//
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
     2
//  HogButtonView.h
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
     3
//  HedgewarsMobile
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
     4
//
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
     5
//  Created by Vittorio on 20/04/10.
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
     7
//
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
     8
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
     9
#import <UIKit/UIKit.h>
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    10
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    11
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    12
@interface SquareButtonView : UIButton {
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    13
    NSInteger colorIndex;
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    14
    NSUInteger selectedColor;
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    15
    NSArray *colorArray;
3364
e5403e2bf02c no more hardcoded teams, team selection is real \o/
koda
parents: 3361
diff changeset
    16
    NSMutableDictionary *ownerDictionary;
3361
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    17
}
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    18
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    19
@property (nonatomic,retain) NSArray *colorArray;
3364
e5403e2bf02c no more hardcoded teams, team selection is real \o/
koda
parents: 3361
diff changeset
    20
@property (nonatomic) NSUInteger selectedColor;
e5403e2bf02c no more hardcoded teams, team selection is real \o/
koda
parents: 3361
diff changeset
    21
@property (nonatomic,retain) NSMutableDictionary *ownerDictionary;
3361
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    22
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    23
-(void) nextColor;
3364
e5403e2bf02c no more hardcoded teams, team selection is real \o/
koda
parents: 3361
diff changeset
    24
-(void) selectColor:(NSUInteger) color;
3361
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    25
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    26
@end