cocoaTouch/iPad/OverlayViewController.h
author sheepluva
Sat, 03 Apr 2010 10:26:24 +0000
changeset 3284 7ffd0e20ad08
parent 3250 d5cd1a617123
permissions -rw-r--r--
Palewolf: * SniperRifle.lua: convert spaces to tabs * Update spanish translation sheepluva: translations: * ran sed -i 's/ type="[^"]*"//' on .ts files as requested by Smaxx and Palewolf * ran lupdate and lrelease frontend: * reduce min window-size a bit * make option page scale down better engine: * replacing Smaxx' latest commit with a TryDo()

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