cocoaTouch/iPad/OverlayViewController.h
changeset 3116 97dc65a47b15
child 3250 d5cd1a617123
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cocoaTouch/iPad/OverlayViewController.h	Sat Mar 27 17:27:15 2010 +0000
@@ -0,0 +1,34 @@
+//
+//  overlayViewController.h
+//  HedgewarsMobile
+//
+//  Created by Vittorio on 16/03/10.
+//  Copyright 2010 __MyCompanyName__. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+
+@interface OverlayViewController : UIViewController <UIActionSheetDelegate> {
+    NSTimer *dimTimer;
+    UIPopoverController* menuPopover;
+    
+    CGFloat initialDistanceForPinching;
+    CGPoint gestureStartPoint;
+}
+
+@property (nonatomic,retain) NSTimer *dimTimer;
+@property (nonatomic,retain) UIPopoverController* menuPopover;
+
+-(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
+-(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
+-(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;
+
+-(IBAction) buttonReleased:(id) sender;
+-(IBAction) buttonPressed:(id) sender;
+-(IBAction) showPopover;
+
+-(void) dimOverlay;
+-(void) showMenuAfterwards;
+
+@end