src/video/uikit/SDL_uikitview.h
changeset 7962 e4d2f3375868
parent 7050 aa1f44908402
child 8149 681eb46b8ac4
     1.1 --- a/src/video/uikit/SDL_uikitview.h	Mon Nov 11 20:42:59 2013 -0800
     1.2 +++ b/src/video/uikit/SDL_uikitview.h	Mon Nov 11 20:51:19 2013 -0800
     1.3 @@ -45,6 +45,8 @@
     1.4  #if SDL_IPHONE_KEYBOARD
     1.5      UITextField *textField;
     1.6      BOOL keyboardVisible;
     1.7 +    SDL_Rect textInputRect;
     1.8 +    int keyboardHeight;
     1.9  #endif
    1.10  
    1.11  @public
    1.12 @@ -60,11 +62,14 @@
    1.13  - (void)hideKeyboard;
    1.14  - (void)initializeKeyboard;
    1.15  @property (readonly) BOOL keyboardVisible;
    1.16 +@property (nonatomic,assign) SDL_Rect textInputRect;
    1.17 +@property (nonatomic,assign) int keyboardHeight;
    1.18  
    1.19  SDL_bool UIKit_HasScreenKeyboardSupport(_THIS);
    1.20  void UIKit_ShowScreenKeyboard(_THIS, SDL_Window *window);
    1.21  void UIKit_HideScreenKeyboard(_THIS, SDL_Window *window);
    1.22  SDL_bool UIKit_IsScreenKeyboardShown(_THIS, SDL_Window *window);
    1.23 +void UIKit_SetTextInputRect(_THIS, SDL_Rect *rect);
    1.24  
    1.25  #endif
    1.26