cocoaTouch/iPad/OverlayViewController.h
author koda
Sat, 27 Mar 2010 17:45:51 +0000
changeset 3122 e005359efc59
parent 3116 97dc65a47b15
child 3250 d5cd1a617123
permissions -rw-r--r--
hide the background gl context that remains active (might be worth freeing ithide the background gl context that remains active (might be worth freeing it))

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

#import <UIKit/UIKit.h>


@interface OverlayViewController : UIViewController <UIActionSheetDelegate> {
    NSTimer *dimTimer;
    UIPopoverController* menuPopover;
    
    CGFloat initialDistanceForPinching;
    CGPoint gestureStartPoint;
}

@property (nonatomic,retain) NSTimer *dimTimer;
@property (nonatomic,retain) UIPopoverController* menuPopover;

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