cocoaTouch/overlayViewController.h
author koda
Sat, 20 Mar 2010 15:16:59 +0000
changeset 3025 01682ec58eb0
parent 3015 20a9c8160e82
child 3027 32890edaa483
permissions -rw-r--r--
update project for ipad target relocate objects (windbar, fps, timer) so that window size doesn't matter move touch input in its custom controller rather than hack sdl one
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;
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    29
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    30
@end