cocoaTouch/OverlayViewController.h
author smxx
Mon, 29 Mar 2010 20:40:33 +0000
changeset 3162 663e0e55e5c7
parent 3117 f3e363a9b7db
child 3305 91074496d5c9
permissions -rw-r--r--
Engine: * Reenabled centering of non-fullscreen window under Win32 Frontend: * Ensure different team names as well as hats in quick games

//
//  overlayViewController.h
//  HedgewarsMobile
//
//  Created by Vittorio on 16/03/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface OverlayViewController : UIViewController {
    NSTimer *dimTimer;
    
    CGFloat initialDistanceForPinching;
    CGPoint gestureStartPoint;
}

@property (nonatomic,retain) NSTimer *dimTimer;

-(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;

-(void) dimOverlay;
-(void) showMenuAfterwards;

@end