cocoaTouch/iPad/OverlayViewController.h
changeset 3116 97dc65a47b15
child 3250 d5cd1a617123
equal deleted inserted replaced
3115:831bd0f7050d 3116:97dc65a47b15
       
     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 
       
    12 @interface OverlayViewController : UIViewController <UIActionSheetDelegate> {
       
    13     NSTimer *dimTimer;
       
    14     UIPopoverController* menuPopover;
       
    15     
       
    16     CGFloat initialDistanceForPinching;
       
    17     CGPoint gestureStartPoint;
       
    18 }
       
    19 
       
    20 @property (nonatomic,retain) NSTimer *dimTimer;
       
    21 @property (nonatomic,retain) UIPopoverController* menuPopover;
       
    22 
       
    23 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
       
    24 -(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
       
    25 -(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;
       
    26 
       
    27 -(IBAction) buttonReleased:(id) sender;
       
    28 -(IBAction) buttonPressed:(id) sender;
       
    29 -(IBAction) showPopover;
       
    30 
       
    31 -(void) dimOverlay;
       
    32 -(void) showMenuAfterwards;
       
    33 
       
    34 @end