cocoaTouch/overlayViewController.h
author smxx
Fri, 26 Mar 2010 00:37:36 +0000
changeset 3067 330e60f5dde8
parent 3063 0092dc37fbd6
child 3073 c22b395b6a2e
permissions -rw-r--r--
CMake: * Finally auto detect Lua system libraries on ALL unix/linux systems (hope so) * Fixed first time configure for hwengine (tried to set LUA_LIBRARY before triggering detection)

//
//  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;
-(IBAction) showPopover;

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

@end