src/video/uikit/SDL_uikitview.h
branchiOS-improvements
changeset 9501 574db299498f
parent 9499 6fe9b44b2d84
child 9503 bff6f1fecc5d
     1.1 --- a/src/video/uikit/SDL_uikitview.h	Wed Jul 23 01:33:59 2014 -0300
     1.2 +++ b/src/video/uikit/SDL_uikitview.h	Wed Jul 23 03:05:31 2014 -0300
     1.3 @@ -35,23 +35,10 @@
     1.4  #else
     1.5  @interface SDL_uikitview : UIView {
     1.6  #endif
     1.7 -
     1.8 -    SDL_TouchID touchId;
     1.9 -    UITouch *leftFingerDown;
    1.10 -#ifndef IPHONE_TOUCH_EFFICIENT_DANGEROUS
    1.11 -    UITouch *finger[MAX_SIMULTANEOUS_TOUCHES];
    1.12 -#endif
    1.13 -
    1.14 -#if SDL_IPHONE_KEYBOARD
    1.15 -    UITextField *textField;
    1.16 -    BOOL keyboardVisible;
    1.17 -    SDL_Rect textInputRect;
    1.18 -    int keyboardHeight;
    1.19 -#endif
    1.20 -
    1.21  @public
    1.22      SDL_uikitviewcontroller *viewcontroller;
    1.23  }
    1.24 +
    1.25  - (CGPoint)touchLocation:(UITouch *)touch shouldNormalize:(BOOL)normalize;
    1.26  - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
    1.27  - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
    1.28 @@ -61,7 +48,8 @@
    1.29  - (void)showKeyboard;
    1.30  - (void)hideKeyboard;
    1.31  - (void)initializeKeyboard;
    1.32 -@property (nonatomic, readonly) BOOL keyboardVisible;
    1.33 +
    1.34 +@property (nonatomic, readonly, assign, getter=isKeyboardVisible) BOOL keyboardVisible;
    1.35  @property (nonatomic, assign) SDL_Rect textInputRect;
    1.36  @property (nonatomic, assign) int keyboardHeight;
    1.37