equal
deleted
inserted
replaced
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 |
|
12 @interface OverlayViewController : UIViewController { |
|
13 NSTimer *dimTimer; |
|
14 UIPopoverController* menuPopover; |
|
15 |
|
16 CGFloat initialDistanceForPinching; |
|
17 CGPoint gestureStartPoint; |
|
18 } |
|
19 |
|
20 @property (nonatomic,retain) NSTimer *dimTimer; |
|
21 @property (nonatomic,retain) UIPopoverController* menuPopover; |
|
22 |
|
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 |
|
27 -(IBAction) buttonReleased:(id) sender; |
|
28 -(IBAction) buttonPressed:(id) sender; |
|
29 -(IBAction) showPopover; |
|
30 |
|
31 -(void) dimOverlay; |
|
32 -(void) showMenuAfterwards; |
|
33 |
|
34 @end |
|