cocoaTouch/overlayViewController.h
author koda
Sun, 21 Mar 2010 20:55:45 +0000
changeset 3041 177b2b273d4a
parent 3027 32890edaa483
child 3063 0092dc37fbd6
permissions -rw-r--r--
fix a small leak
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3006
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
     1
//
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
     2
//  overlayViewController.h
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
     3
//  HedgewarsMobile
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
     4
//
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
     5
//  Created by Vittorio on 16/03/10.
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
     7
//
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
     8
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
     9
#import <UIKit/UIKit.h>
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    10
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    11
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    12
@interface overlayViewController : UIViewController {
3015
20a9c8160e82 add jump and backjump controls
koda
parents: 3006
diff changeset
    13
    NSTimer *dimTimer;
3025
01682ec58eb0 update project for ipad target
koda
parents: 3015
diff changeset
    14
    CGFloat initialDistanceForPinching;
01682ec58eb0 update project for ipad target
koda
parents: 3015
diff changeset
    15
    CGPoint gestureStartPoint;
3015
20a9c8160e82 add jump and backjump controls
koda
parents: 3006
diff changeset
    16
}
3006
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    17
3015
20a9c8160e82 add jump and backjump controls
koda
parents: 3006
diff changeset
    18
@property (nonatomic,retain) NSTimer *dimTimer;
3006
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    19
3025
01682ec58eb0 update project for ipad target
koda
parents: 3015
diff changeset
    20
01682ec58eb0 update project for ipad target
koda
parents: 3015
diff changeset
    21
-(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
01682ec58eb0 update project for ipad target
koda
parents: 3015
diff changeset
    22
-(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
01682ec58eb0 update project for ipad target
koda
parents: 3015
diff changeset
    23
-(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;
01682ec58eb0 update project for ipad target
koda
parents: 3015
diff changeset
    24
3006
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    25
-(IBAction) buttonReleased:(id) sender;
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    26
-(IBAction) buttonPressed:(id) sender;
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    27
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    28
-(void) dimOverlay;
3027
32890edaa483 lotsa optimizations and redraws for the iFrontend
koda
parents: 3025
diff changeset
    29
-(void) showMenuAfterwards;
3006
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    30
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    31
@end