final change for 0.17 to sync up with other platforms. focused targeted touch of ui objects to deck menus.

This commit is contained in:
techdragon.nguyen@gmail.com
2012-01-10 19:53:10 +00:00
parent 9161136797
commit adc3e4b689
6 changed files with 24 additions and 13 deletions

View File

@@ -444,7 +444,8 @@ static NSString *_MY_AD_WHIRL_APPLICATION_KEY_IPAD = @"2e70e3f3da40408588b9a3170
{
// we want some delay for the left click to take place before clicking on OK.
g_engine->LeftClicked( newCoordinates.x, newCoordinates.y);
[self performSelector: @selector(handleOK:) withObject: recognizer afterDelay: 0.25];
if (recognizer.state == UIGestureRecognizerStateEnded)
[self performSelector: @selector(handleOK:) withObject: recognizer afterDelay: 0.25];
}
else if(currentLocation.y < es2renderer.viewPort.top) {

View File

@@ -195,13 +195,13 @@
- (BOOL)textFieldShouldEndEditing:(UITextField *)textField
{
[eaglView updateKeyboard: @"SAVE"];
return YES;
}
- (BOOL) textFieldShouldReturn:(UITextField *)textField
{
[eaglView updateKeyboard: @"SAVE"];
[textField resignFirstResponder];
return YES;
}