author | koda |
Fri, 16 Jul 2010 00:18:03 +0200 | |
changeset 3646 | a3271158d93b |
parent 3639 | b5cdbcc89b61 |
child 3647 | 0d0df215fb52 |
permissions | -rw-r--r-- |
3547 | 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 |
@class PopoverMenuViewController; |
|
12 |
||
13 |
@interface OverlayViewController : UIViewController { |
|
14 |
NSTimer *dimTimer; |
|
15 |
||
16 |
// used only on the ipad |
|
17 |
UIPopoverController *popoverController; |
|
18 |
||
19 |
PopoverMenuViewController *popupMenu; |
|
20 |
BOOL isPopoverVisible; |
|
21 |
||
22 |
CGFloat initialDistanceForPinching; |
|
23 |
} |
|
24 |
||
25 |
@property (nonatomic,retain) id popoverController; |
|
26 |
@property (nonatomic,retain) PopoverMenuViewController *popupMenu; |
|
27 |
||
3629
86212d2b116a
redo spinning wheel, redo fix for detail selection, redo ammo quantity and name in ammomenu
koda
parents:
3551
diff
changeset
|
28 |
BOOL isGameRunning; |
3547 | 29 |
|
30 |
-(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; |
|
31 |
-(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event; |
|
32 |
-(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event; |
|
33 |
-(void) touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event; |
|
34 |
||
35 |
-(IBAction) buttonReleased:(id) sender; |
|
36 |
-(IBAction) buttonPressed:(id) sender; |
|
37 |
||
38 |
-(void) showPopover; |
|
39 |
-(void) dismissPopover; |
|
40 |
-(void) dimOverlay; |
|
41 |
-(void) activateOverlay; |
|
42 |
-(void) chatAppear; |
|
43 |
-(void) chatDisappear; |
|
44 |
||
45 |
@end |