equal
deleted
inserted
replaced
68 EGestureSwipeRight = 0x00000009, |
68 EGestureSwipeRight = 0x00000009, |
69 /** swipe up */ |
69 /** swipe up */ |
70 EGestureSwipeUp = 0x0000000A, |
70 EGestureSwipeUp = 0x0000000A, |
71 /** swipe down */ |
71 /** swipe down */ |
72 EGestureSwipeDown = 0x0000000B, |
72 EGestureSwipeDown = 0x0000000B, |
|
73 EGestureCanceled = 0x0000000C, |
73 /** |
74 /** |
74 * these codes are sent when user initiates holding by keeping stylus |
75 * these codes are sent when user initiates holding by keeping stylus |
75 * in same place for a longer duration |
76 * in same place for a longer duration |
76 */ |
77 */ |
77 EGestureHoldLeft = EGestureSwipeLeft | EFlagHold, |
78 EGestureHoldLeft = EGestureSwipeLeft | EFlagHold, |
102 * down at same position |
103 * down at same position |
103 * EFalse if gesture ended at pointer being released |
104 * EFalse if gesture ended at pointer being released |
104 * @return recognised gesture id or EUnknownGesture |
105 * @return recognised gesture id or EUnknownGesture |
105 */ |
106 */ |
106 TXnGestureCode GestureCode( const TXnPointArray& aPoints ) const; |
107 TXnGestureCode GestureCode( const TXnPointArray& aPoints ) const; |
|
108 |
|
109 TXnGestureCode LastDirection( const TXnPointArray& aPoints ) const; |
107 }; |
110 }; |
108 } // namespace XnGestureHelper |
111 } // namespace XnGestureHelper |
109 |
112 |
110 #endif // _XNGESTURERECOGNISER_H_ |
113 #endif // _XNGESTURERECOGNISER_H_ |