cocoaTouch/overlayViewController.h
author koda
Thu, 25 Mar 2010 23:01:50 +0000
changeset 3063 0092dc37fbd6
parent 3027 32890edaa483
child 3073 c22b395b6a2e
permissions -rw-r--r--
reworked interaction of engine/frontend when closing added a corner button for general actions during game
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;
3063
0092dc37fbd6 reworked interaction of engine/frontend when closing
koda
parents: 3027
diff changeset
    14
    
3025
01682ec58eb0 update project for ipad target
koda
parents: 3015
diff changeset
    15
    CGFloat initialDistanceForPinching;
01682ec58eb0 update project for ipad target
koda
parents: 3015
diff changeset
    16
    CGPoint gestureStartPoint;
3015
20a9c8160e82 add jump and backjump controls
koda
parents: 3006
diff changeset
    17
}
3006
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    18
3015
20a9c8160e82 add jump and backjump controls
koda
parents: 3006
diff changeset
    19
@property (nonatomic,retain) NSTimer *dimTimer;
3006
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    20
3025
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;
3063
0092dc37fbd6 reworked interaction of engine/frontend when closing
koda
parents: 3027
diff changeset
    27
-(IBAction) showPopover;
3006
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    28
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    29
-(void) dimOverlay;
3027
32890edaa483 lotsa optimizations and redraws for the iFrontend
koda
parents: 3025
diff changeset
    30
-(void) showMenuAfterwards;
3006
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    31
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    32
@end