cocoaTouch/SDLOverrides/SDL_uikitview.h
changeset 2724 601158aaa201
parent 2714 c85ffe57d971
child 2725 89908847b155
equal deleted inserted replaced
2723:eaa6ac1e95ea 2724:601158aaa201
    35 #endif
    35 #endif
    36 
    36 
    37 // constants for telling which input has been received
    37 // constants for telling which input has been received
    38 #define kMinimumPinchDelta	100
    38 #define kMinimumPinchDelta	100
    39 #define kMinimumGestureLength	10
    39 #define kMinimumGestureLength	10
    40 #define kMaximumVariance	4
    40 #define kMaximumVariance	3
    41 
    41 
    42 /* *INDENT-OFF* */
    42 /* *INDENT-OFF* */
    43 //#if SDL_IPHONE_KEYBOARD
    43 #if SDL_IPHONE_KEYBOARD
    44 //@interface SDL_uikitview : UIView<UITextFieldDelegate> {
    44 @interface SDL_uikitview : UIView<UITextFieldDelegate> {
    45 //#else
    45 #else
    46 @interface SDL_uikitview : UIView {
    46 @interface SDL_uikitview : UIView {
    47 //#endif
    47 #endif
    48 	SDL_Mouse mice[MAX_SIMULTANEOUS_TOUCHES];
    48 	SDL_Mouse mice[MAX_SIMULTANEOUS_TOUCHES];
    49 	CGFloat initialDistance;
    49 	CGFloat initialDistance;
    50 	CGPoint gestureStartPoint;
    50 	CGPoint gestureStartPoint;
    51 
    51 
    52 #if SDL_IPHONE_KEYBOARD
    52 #if SDL_IPHONE_KEYBOARD