cocoaTouch/otherSrc/HogButtonView.h
author koda
Wed, 21 Apr 2010 01:57:23 +0000
changeset 3361 cfc6cd502f85
child 3364 e5403e2bf02c
permissions -rw-r--r--
buttons for number of hogs in game config buttons for color of team in game config update and code cleanup fixed crashes at uitextfield
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 HogButtonView : UIButton {
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    13
    NSInteger numberOfHogs;
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    14
    UIImage *singleHog;
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    15
}
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    16
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    17
@property (nonatomic,retain) UIImage *singleHog;
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
-(void) drawManyHogs;
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    20
cfc6cd502f85 buttons for number of hogs in game config
koda
parents:
diff changeset
    21
-(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
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
@end