author | koda |
Thu, 08 Jul 2010 02:23:10 +0200 | |
changeset 3629 | 86212d2b116a |
parent 3551 | d4de36b3801a |
child 3635 | 38d3e31556d3 |
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 |