author | sheepluva |
Wed, 16 Jun 2010 21:14:23 +0200 | |
changeset 3508 | a7ca07614a2d |
parent 3490 | 016b3172b645 |
child 3513 | f589230fa21b |
permissions | -rw-r--r-- |
3117
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
1 |
// |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
2 |
// overlayViewController.h |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
3 |
// HedgewarsMobile |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
4 |
// |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
5 |
// Created by Vittorio on 16/03/10. |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
6 |
// Copyright 2010 __MyCompanyName__. All rights reserved. |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
7 |
// |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
8 |
|
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
9 |
#import <UIKit/UIKit.h> |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
10 |
|
3308 | 11 |
@class PopoverMenuViewController; |
3117
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
12 |
|
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
13 |
@interface OverlayViewController : UIViewController { |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
14 |
NSTimer *dimTimer; |
3490 | 15 |
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_3_2 |
3308 | 16 |
UIPopoverController *popoverController; |
17 |
#else |
|
18 |
id popoverController; |
|
19 |
#endif |
|
20 |
PopoverMenuViewController *popupMenu; |
|
21 |
BOOL isPopoverVisible; |
|
3347 | 22 |
|
3463 | 23 |
UITextField *writeChatTextField; |
24 |
||
3117
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
25 |
CGFloat initialDistanceForPinching; |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
26 |
CGPoint gestureStartPoint; |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
27 |
} |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
28 |
|
3308 | 29 |
@property (nonatomic,retain) id popoverController; |
30 |
@property (nonatomic,retain) PopoverMenuViewController *popupMenu; |
|
3463 | 31 |
@property (nonatomic,retain) UITextField *writeChatTextField; |
3117
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
32 |
|
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
33 |
-(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
34 |
-(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event; |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
35 |
-(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event; |
3361 | 36 |
-(void) touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event; |
3117
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
37 |
|
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
38 |
-(IBAction) buttonReleased:(id) sender; |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
39 |
-(IBAction) buttonPressed:(id) sender; |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
40 |
|
3308 | 41 |
-(void) showPopover; |
42 |
-(void) dismissPopover; |
|
3117
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
43 |
-(void) dimOverlay; |
3463 | 44 |
-(void) activateOverlay; |
45 |
-(void) chatAppear; |
|
46 |
-(void) chatDisappear; |
|
3117
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
47 |
|
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
48 |
@end |