cocoaTouch/OverlayViewController.h
changeset 3305 91074496d5c9
parent 3117 f3e363a9b7db
child 3308 b6dcae4b6d2c
equal deleted inserted replaced
3304:8690a3aa93b5 3305:91074496d5c9
     9 #import <UIKit/UIKit.h>
     9 #import <UIKit/UIKit.h>
    10 
    10 
    11 
    11 
    12 @interface OverlayViewController : UIViewController {
    12 @interface OverlayViewController : UIViewController {
    13     NSTimer *dimTimer;
    13     NSTimer *dimTimer;
       
    14     id menuPopover;     //UIPopoverController
    14     
    15     
    15     CGFloat initialDistanceForPinching;
    16     CGFloat initialDistanceForPinching;
    16     CGPoint gestureStartPoint;
    17     CGPoint gestureStartPoint;
       
    18     BOOL popoverVisible;
    17 }
    19 }
    18 
    20 
    19 @property (nonatomic,retain) NSTimer *dimTimer;
    21 @property (nonatomic,retain) NSTimer *dimTimer;
       
    22 @property (nonatomic,retain) id menuPopover;
    20 
    23 
    21 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
    24 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
    22 -(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
    25 -(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
    23 -(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;
    26 -(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;
    24 
    27 
    25 -(IBAction) buttonReleased:(id) sender;
    28 -(IBAction) buttonReleased:(id) sender;
    26 -(IBAction) buttonPressed:(id) sender;
    29 -(IBAction) buttonPressed:(id) sender;
       
    30 -(IBAction) showPopover;
    27 
    31 
    28 -(void) dimOverlay;
    32 -(void) dimOverlay;
    29 -(void) showMenuAfterwards;
    33 -(void) showMenuAfterwards;
    30 
    34 
    31 @end
    35 @end