|
Tizen Native API
6.0
|
Dali::Gesture Struct Reference
Base structure for different gestures that an application can receive. More...
Inheritance diagram for Dali::Gesture:
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. | |
Detailed Description
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.
- Since:
- 2.4, DALi version 1.0.0
- Note:
- An instance of this class cannot be created.
- See also:
- GestureDetector
Member Enumeration Documentation
| enum Dali::Gesture::State |
Enumeration for state of the gesture.
- Since:
- 2.4, DALi version 1.0.0
- Enumerator:
| enum Dali::Gesture::Type |
Enumeration for type of gesture.
- Since:
- 2.4, DALi version 1.0.0
- Enumerator:
Constructor & Destructor Documentation
| Dali::Gesture::Gesture | ( | const Gesture & | rhs | ) |
Copy constructor.
- Since:
- 2.4, DALi version 1.0.0
- Parameters:
-
[in] rhs A reference to the copied handle
| virtual Dali::Gesture::~Gesture | ( | ) | [virtual] |
Virtual destructor.
- Since:
- 2.4, DALi version 1.0.0
| Dali::Gesture::Gesture | ( | Type | gestureType, |
| State | gestureState | ||
| ) | [protected] |
This constructor is only used by derived classes.
- Since:
- 2.4, DALi version 1.0.0
- Parameters:
-
[in] gestureType The type of gesture event. [in] gestureState The state of the gesture event.
Member Function Documentation
Assignment operator.
- Since:
- 2.4, DALi version 1.0.0
- Parameters:
-
[in] rhs A reference to the copied handle
- Returns:
- A reference to this
Member Data Documentation
The gesture state.
Please see the description in the sub-classes to see the states used by the actual gesture.