cocoaTouch/OverlayViewController.h
changeset 3117 f3e363a9b7db
child 3305 91074496d5c9
equal deleted inserted replaced
3116:97dc65a47b15 3117:f3e363a9b7db
       
     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 {
       
    13     NSTimer *dimTimer;
       
    14     
       
    15     CGFloat initialDistanceForPinching;
       
    16     CGPoint gestureStartPoint;
       
    17 }
       
    18 
       
    19 @property (nonatomic,retain) NSTimer *dimTimer;
       
    20 
       
    21 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
       
    22 -(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
       
    23 -(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;
       
    24 
       
    25 -(IBAction) buttonReleased:(id) sender;
       
    26 -(IBAction) buttonPressed:(id) sender;
       
    27 
       
    28 -(void) dimOverlay;
       
    29 -(void) showMenuAfterwards;
       
    30 
       
    31 @end