author | smxx |
Sat, 27 Mar 2010 17:22:33 +0000 | |
changeset 3115 | 831bd0f7050d |
parent 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; |
3113 | 14 |
UIPopoverController* menuPopover; |
3063 | 15 |
|
3025 | 16 |
CGFloat initialDistanceForPinching; |
17 |
CGPoint gestureStartPoint; |
|
3015 | 18 |
} |
3006 | 19 |
|
3015 | 20 |
@property (nonatomic,retain) NSTimer *dimTimer; |
3113 | 21 |
@property (nonatomic,retain) UIPopoverController* menuPopover; |
3006 | 22 |
|
3025 | 23 |
-(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; |
24 |
-(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event; |
|
25 |
-(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event; |
|
26 |
||
3006 | 27 |
-(IBAction) buttonReleased:(id) sender; |
28 |
-(IBAction) buttonPressed:(id) sender; |
|
3063 | 29 |
-(IBAction) showPopover; |
3006 | 30 |
|
31 |
-(void) dimOverlay; |
|
3027 | 32 |
-(void) showMenuAfterwards; |
3006 | 33 |
|
34 |
@end |