Touch gesture recognizer.
More...
#include <TouchGesturePinch.h>
|
| enum | PinchMode { PinchMode_Nil = 0,
PinchMode_Open,
PinchMode_Closed
} |
| |
|
typedef std::function< bool(CTouchGesturePinch &pinch_gesture)> | GestureRecognized_callback |
| |
|
|
int | GetPinchThreshold () const |
| |
|
void | SetPinchThreshold (int val) |
| |
|
bool | IsActive () const |
| |
|
PinchMode | Pinch_mode () const |
| |
|
void | ResetLastDistance () |
| |
|
int | GetDeltaDistance () |
| |
|
virtual bool | InterpreteTouchGesture (const TouchEvent *touch, TouchSessions *touch_sessions=NULL) |
| |
| void | addref () const |
| | add reference count of the object. More...
|
| |
| bool | delref () const |
| | decrease reference count of the object. More...
|
| |
|
int | GetRefCount () const |
| | get the reference count
|
| |
|
virtual int | Release () |
| |
| CRefCounted * | AddToAutoReleasePool () |
| | addref and releases the ownership sometime soon automatically (usually at the end of the current frame). More...
|
| |
|
|
int | m_nPinchThreshold |
| |
|
PinchMode | m_pinch_mode |
| |
|
int | m_lastDistance |
| |
|
int | m_distance |
| |
|
bool | m_isActive |
| |
|
GestureRecognized_callback | handleGestureRecognized |
| | return true if handled
|
| |
Touch gesture recognizer.
The documentation for this class was generated from the following files:
- Client/trunk/ParaEngineClient/2dengine/TouchGesturePinch.h
- Client/trunk/ParaEngineClient/2dengine/TouchGesturePinch.cpp