2 #include "TouchGestureBase.h" 21 typedef std::function<bool(CTouchGesturePinch& pinch_gesture)> GestureRecognized_callback;
23 int GetPinchThreshold()
const {
return m_nPinchThreshold; }
24 void SetPinchThreshold(
int val) { m_nPinchThreshold = val; }
26 bool IsActive()
const {
return m_isActive; }
27 PinchMode Pinch_mode()
const {
return m_pinch_mode; }
29 void ResetLastDistance();
31 int GetDeltaDistance();
35 int m_nPinchThreshold;
36 PinchMode m_pinch_mode;
Touch gesture recognizer.
Definition: TouchGesturePinch.h:8
Definition: TouchGestureBase.h:8
GestureRecognized_callback handleGestureRecognized
return true if handled
Definition: TouchGesturePinch.h:42
different physics engine has different winding order.
Definition: EventBinding.h:32
touch event
Definition: EventClasses.h:118
manages all global touch sessions.
Definition: TouchSessions.h:11