author | koda |
Wed, 23 Jun 2010 01:00:52 +0200 | |
changeset 3535 | 9e78c1f3d8d8 |
parent 3525 | 1d7b056ff866 |
child 3546 | ccf4854df294 |
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; |
3535
9e78c1f3d8d8
update the project to ios4 by removing pre-3.2 references
koda
parents:
3525
diff
changeset
|
15 |
|
9e78c1f3d8d8
update the project to ios4 by removing pre-3.2 references
koda
parents:
3525
diff
changeset
|
16 |
// used only on the ipad |
3308 | 17 |
UIPopoverController *popoverController; |
3535
9e78c1f3d8d8
update the project to ios4 by removing pre-3.2 references
koda
parents:
3525
diff
changeset
|
18 |
|
3308 | 19 |
PopoverMenuViewController *popupMenu; |
20 |
BOOL isPopoverVisible; |
|
3347 | 21 |
|
3463 | 22 |
UITextField *writeChatTextField; |
23 |
||
3117
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
24 |
CGFloat initialDistanceForPinching; |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
25 |
CGPoint gestureStartPoint; |
3525 | 26 |
UIActivityIndicatorView *spinningWheel; |
3117
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; |
3525 | 32 |
@property (nonatomic,retain) IBOutlet UIActivityIndicatorView *spinningWheel; |
33 |
||
34 |
UIActivityIndicatorView *singleton; |
|
35 |
BOOL canDim; |
|
3117
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
36 |
|
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
37 |
-(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
38 |
-(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event; |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
39 |
-(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event; |
3361 | 40 |
-(void) touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event; |
3117
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
41 |
|
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
42 |
-(IBAction) buttonReleased:(id) sender; |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
43 |
-(IBAction) buttonPressed:(id) sender; |
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
44 |
|
3308 | 45 |
-(void) showPopover; |
46 |
-(void) dismissPopover; |
|
3117
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
47 |
-(void) dimOverlay; |
3463 | 48 |
-(void) activateOverlay; |
49 |
-(void) chatAppear; |
|
50 |
-(void) chatDisappear; |
|
3117
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
51 |
|
f3e363a9b7db
complete previous commit (which broken my local copy as well)
koda
parents:
diff
changeset
|
52 |
@end |