cocoaTouch/OverlayViewController.h
author palewolf
Fri, 02 Apr 2010 18:54:08 +0000
changeset 3265 5fe62296fdea
parent 3117 f3e363a9b7db
child 3305 91074496d5c9
permissions -rw-r--r--
- Parallax effect for horizont when water is out of sight - Honor reducedquality and don't calculate offsets on wimpy machines

//
//  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