project_files/HedgewarsMobile/Classes/OverlayViewController.h
changeset 5175 a3da220dbb3f
parent 5174 f5294509783e
child 5177 b850b544addc
equal deleted inserted replaced
5174:f5294509783e 5175:a3da220dbb3f
    42     AmmoMenuViewController *amvc;
    42     AmmoMenuViewController *amvc;
    43     
    43     
    44     // ths touch section
    44     // ths touch section
    45     CGFloat initialDistanceForPinching;
    45     CGFloat initialDistanceForPinching;
    46     CGPoint startingPoint;
    46     CGPoint startingPoint;
    47     BOOL isSegmentVisible;
       
    48     BOOL isAttacking;
    47     BOOL isAttacking;
    49     
    48     
    50     // stuff initialized externally
    49     // stuff initialized externally
    51     BOOL useClassicMenu;
    50     BOOL useClassicMenu;
    52     NSInteger initialOrientation;
    51     NSInteger initialOrientation;
    53     
    52     
    54     // dual head support
    53     // dual head support
    55     NSInteger initialScreenCount;
    54     NSInteger initialScreenCount;
    56 
    55 
    57     // spinning icons low
    56     // various other widgets
    58     UIActivityIndicatorView *lowerIndicator;
    57     UIActivityIndicatorView *lowerIndicator;
    59     UIActivityIndicatorView *savesIndicator;
    58     UIActivityIndicatorView *savesIndicator;
       
    59     UIButton *confirmButton;
       
    60     UISegmentedControl *grenadeTimeSegment;
    60 }
    61 }
    61 
    62 
    62 @property (nonatomic,retain) id popoverController;
    63 @property (nonatomic,retain) id popoverController;
    63 @property (nonatomic,retain) InGameMenuViewController *popupMenu;
    64 @property (nonatomic,retain) InGameMenuViewController *popupMenu;
    64 @property (nonatomic,retain) HelpPageViewController *helpPage;
    65 @property (nonatomic,retain) HelpPageViewController *helpPage;
    65 @property (nonatomic,retain) AmmoMenuViewController *amvc;
    66 @property (nonatomic,retain) AmmoMenuViewController *amvc;
    66 @property (nonatomic,retain) UIActivityIndicatorView *lowerIndicator;
    67 @property (nonatomic,retain) UIActivityIndicatorView *lowerIndicator;
    67 @property (nonatomic,retain) UIActivityIndicatorView *savesIndicator;
    68 @property (nonatomic,retain) UIActivityIndicatorView *savesIndicator;
       
    69 @property (nonatomic,retain) UIButton *confirmButton;
       
    70 @property (nonatomic,retain) UISegmentedControl *grenadeTimeSegment;
       
    71 
    68 @property (assign) BOOL useClassicMenu;
    72 @property (assign) BOOL useClassicMenu;
    69 @property (assign) NSInteger initialOrientation;
    73 @property (assign) NSInteger initialOrientation;
    70 @property (assign) NSInteger initialScreenCount;
    74 @property (assign) NSInteger initialScreenCount;
       
    75 
    71 
    76 
    72 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
    77 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
    73 -(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
    78 -(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
    74 -(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;
    79 -(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;
    75 -(void) touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event;
    80 -(void) touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event;