equal
deleted
inserted
replaced
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 |