equal
deleted
inserted
replaced
8 |
8 |
9 #import <UIKit/UIKit.h> |
9 #import <UIKit/UIKit.h> |
10 #import "SDL_sysvideo.h" |
10 #import "SDL_sysvideo.h" |
11 |
11 |
12 @class InGameMenuViewController; |
12 @class InGameMenuViewController; |
13 @class HelpPageLobbyViewController; |
13 @class HelpPageViewController; |
14 |
14 |
15 @interface OverlayViewController : UIViewController { |
15 @interface OverlayViewController : UIViewController { |
16 // the timer that dims the overlay |
16 // the timer that dims the overlay |
17 NSTimer *dimTimer; |
17 NSTimer *dimTimer; |
18 |
18 |
20 UIPopoverController *popoverController; // iPad only |
20 UIPopoverController *popoverController; // iPad only |
21 InGameMenuViewController *popupMenu; |
21 InGameMenuViewController *popupMenu; |
22 BOOL isPopoverVisible; |
22 BOOL isPopoverVisible; |
23 |
23 |
24 // the help menu |
24 // the help menu |
25 HelpPageLobbyViewController *helpPage; |
25 HelpPageViewController *helpPage; |
26 |
26 |
27 // ths touch section |
27 // ths touch section |
28 CGFloat initialDistanceForPinching; |
28 CGFloat initialDistanceForPinching; |
29 CGPoint startingPoint; |
29 CGPoint startingPoint; |
30 BOOL isSegmentVisible; |
30 BOOL isSegmentVisible; |
34 SDL_Window *sdlwindow; |
34 SDL_Window *sdlwindow; |
35 } |
35 } |
36 |
36 |
37 @property (nonatomic,retain) id popoverController; |
37 @property (nonatomic,retain) id popoverController; |
38 @property (nonatomic,retain) InGameMenuViewController *popupMenu; |
38 @property (nonatomic,retain) InGameMenuViewController *popupMenu; |
39 @property (nonatomic,retain) HelpPageLobbyViewController *helpPage; |
39 @property (nonatomic,retain) HelpPageViewController *helpPage; |
40 |
40 |
41 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; |
41 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; |
42 -(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event; |
42 -(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event; |
43 -(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event; |
43 -(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event; |
44 -(void) touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event; |
44 -(void) touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event; |