class Core::Portable::Gesture
Overview
#include <coretouchinput.h> class Gesture: public Core::GestureInfo { public: // fields priority; Priority int userData; // construction Gesture(int type = -1); // methods bool operator == (const Gesture& gesture); PROPERTY_POINTER(View, view, View); };
Inherited Members
public: // typedefs typedef FixedSizeVector<TouchID, 16> TouchVector; // methods PROPERTY_VARIABLE(int, type, Type); const TouchVector& getTouchIDs() const; bool addTouch(TouchID touchID); bool isContinuous() const; bool isTap() const; bool wantsTouch(TouchID touchID) const; bool needsMoreTouches() const; bool hadMultipleTouches() const; bool canRemove() const; bool containsTouch(TouchID touchID) const; GestureInfo& operator = (const GestureInfo& g); CStringPtr getGestureName() const; static CStringPtr getGestureName(const GestureInfo* info); static CStringPtr getGestureName(int type);
Detailed Documentation
Fields
Priority int userData
< the view’s priority for this gesture
passed to view with each gesture event