enabled OK button on GuiCombat screen when choosing defenders/attackers. iOS solution only currently. To implement in Android, we need to create a mask/invisible button above the OK button coordinates and add a listener to activate when a user touches the appropriate area. Not ideal, but it works for now.
TODO: translate functionality into core of engine.
This commit is contained in:
@@ -6,8 +6,11 @@
|
||||
BOOL bannerIsVisible;
|
||||
}
|
||||
|
||||
- (void)addOkButtonListener: (CGRect) frame;
|
||||
|
||||
@property (nonatomic, retain) id eaglView;
|
||||
@property (nonatomic, retain) UITextField *inputField;
|
||||
@property (nonatomic, retain) UIButton *okButtonView;
|
||||
@property (nonatomic, assign) BOOL bannerIsVisible;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user