project_files/HedgewarsMobile/Classes/OverlayViewController.h
changeset 6822 206db098f8c5
parent 6700 e04da46ee43c
child 6825 aca4a6807ecc
--- a/project_files/HedgewarsMobile/Classes/OverlayViewController.h	Sun Mar 25 21:17:01 2012 +0200
+++ b/project_files/HedgewarsMobile/Classes/OverlayViewController.h	Mon Mar 26 03:24:50 2012 +0200
@@ -45,6 +45,7 @@
     UIActivityIndicatorView *loadingIndicator;
     UIButton *confirmButton;
     UISegmentedControl *grenadeTimeSegment;
+    NSInteger cachedGrenadeTime;
 }
 
 @property (nonatomic,retain) id popoverController;
@@ -53,8 +54,7 @@
 @property (nonatomic,retain) UIActivityIndicatorView *loadingIndicator;
 @property (nonatomic,retain) UIButton *confirmButton;
 @property (nonatomic,retain) UISegmentedControl *grenadeTimeSegment;
-
-+(OverlayViewController *)mainOverlay;
+@property (assign) NSInteger cachedGrenadeTime;
 
 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
 -(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
@@ -66,9 +66,10 @@
 
 -(void) showPopover;
 -(void) dismissPopover;
+
 -(void) dimOverlay;
 -(void) activateOverlay;
--(void) removeOverlay;
+-(void) clearOverlay;
 
 #define ANIMATION_DURATION 0.25
 #define CONFIRMATION_TAG 5959