|
Tizen Native API
5.5
|
Base structure for different gestures that an application can receive. More...
Public Types | |
| enum | Type |
| Enumeration for type of gesture. More... | |
| enum | State |
| Enumeration for state of the gesture. More... | |
Public Member Functions | |
| Gesture (const Gesture &rhs) | |
| Copy constructor. | |
| Gesture & | operator= (const Gesture &rhs) |
| Assignment operator. | |
| virtual | ~Gesture () |
| Virtual destructor. | |
Public Attributes | |
| Type | type |
| The gesture type. | |
| State | state |
| The gesture state. | |
| uint32_t | time |
| The time the gesture took place. | |
Protected Member Functions | |
| Gesture (Type gestureType, State gestureState) | |
| This constructor is only used by derived classes. | |
Base structure for different gestures that an application can receive.
A gesture is an event that is produced from a combination of several touch events in a particular order or within a certain time frame (e.g pinch).
To receive a particular gesture, the application has to create and connect to the appropriate GestureDetector.
| enum Dali::Gesture::State |
Enumeration for state of the gesture.
| enum Dali::Gesture::Type |
Enumeration for type of gesture.
| Dali::Gesture::Gesture | ( | const Gesture & | rhs | ) |
Copy constructor.
| [in] | rhs | A reference to the copied handle |
| virtual Dali::Gesture::~Gesture | ( | ) | [virtual] |
Virtual destructor.
| Dali::Gesture::Gesture | ( | Type | gestureType, |
| State | gestureState | ||
| ) | [protected] |
This constructor is only used by derived classes.
| [in] | gestureType | The type of gesture event. |
| [in] | gestureState | The state of the gesture event. |
Assignment operator.
| [in] | rhs | A reference to the copied handle |
The gesture state.
Please see the description in the sub-classes to see the states used by the actual gesture.