author | smxx |
Fri, 26 Mar 2010 17:43:21 +0000 | |
changeset 3085 | c6c57c499034 |
parent 3073 | c22b395b6a2e |
child 3113 | 2829ea0dd47c |
permissions | -rw-r--r-- |
3006 | 1 |
// |
2 |
// overlayViewController.h |
|
3 |
// HedgewarsMobile |
|
4 |
// |
|
5 |
// Created by Vittorio on 16/03/10. |
|
6 |
// Copyright 2010 __MyCompanyName__. All rights reserved. |
|
7 |
// |
|
8 |
||
9 |
#import <UIKit/UIKit.h> |
|
10 |
||
11 |
||
3073
c22b395b6a2e
add another button to close the game and return to the iFrontend (untested)
koda
parents:
3063
diff
changeset
|
12 |
@interface overlayViewController : UIViewController <UIActionSheetDelegate> { |
3015 | 13 |
NSTimer *dimTimer; |
3063 | 14 |
|
3025 | 15 |
CGFloat initialDistanceForPinching; |
16 |
CGPoint gestureStartPoint; |
|
3015 | 17 |
} |
3006 | 18 |
|
3015 | 19 |
@property (nonatomic,retain) NSTimer *dimTimer; |
3006 | 20 |
|
3025 | 21 |
-(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; |
22 |
-(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event; |
|
23 |
-(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event; |
|
24 |
||
3006 | 25 |
-(IBAction) buttonReleased:(id) sender; |
26 |
-(IBAction) buttonPressed:(id) sender; |
|
3063 | 27 |
-(IBAction) showPopover; |
3006 | 28 |
|
29 |
-(void) dimOverlay; |
|
3027 | 30 |
-(void) showMenuAfterwards; |
3006 | 31 |
|
32 |
@end |