author | palewolf |
Tue, 30 Mar 2010 20:34:16 +0000 | |
changeset 3192 | b2e3e83cf3b2 |
parent 3116 | 97dc65a47b15 |
child 3250 | d5cd1a617123 |
permissions | -rw-r--r-- |
3116
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
1 |
// |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
2 |
// overlayViewController.h |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
3 |
// HedgewarsMobile |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
4 |
// |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
5 |
// Created by Vittorio on 16/03/10. |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
6 |
// Copyright 2010 __MyCompanyName__. All rights reserved. |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
7 |
// |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
8 |
|
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
9 |
#import <UIKit/UIKit.h> |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
10 |
|
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
11 |
|
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
12 |
@interface OverlayViewController : UIViewController <UIActionSheetDelegate> { |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
13 |
NSTimer *dimTimer; |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
14 |
UIPopoverController* menuPopover; |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
15 |
|
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
16 |
CGFloat initialDistanceForPinching; |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
17 |
CGPoint gestureStartPoint; |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
18 |
} |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
19 |
|
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
20 |
@property (nonatomic,retain) NSTimer *dimTimer; |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
21 |
@property (nonatomic,retain) UIPopoverController* menuPopover; |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
22 |
|
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
23 |
-(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
24 |
-(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event; |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
25 |
-(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event; |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
26 |
|
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
27 |
-(IBAction) buttonReleased:(id) sender; |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
28 |
-(IBAction) buttonPressed:(id) sender; |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
29 |
-(IBAction) showPopover; |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
30 |
|
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
31 |
-(void) dimOverlay; |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
32 |
-(void) showMenuAfterwards; |
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
33 |
|
97dc65a47b15
branch ipad/iphone files to keep compatibility between versions
koda
parents:
diff
changeset
|
34 |
@end |