Tizen Native API
5.0
|
Touch events are a collection of touch points at a specific moment in time. More...
Public Member Functions | |
TouchEvent () DALI_DEPRECATED_API | |
Default constructor. | |
TouchEvent (unsigned long time) DALI_DEPRECATED_API | |
Constructor. | |
~TouchEvent () DALI_DEPRECATED_API | |
Destructor. | |
uint32_t | GetPointCount () const DALI_DEPRECATED_API |
Returns the total number of points in this TouchEvent. | |
const TouchPoint & | GetPoint (uint32_t point) const DALI_DEPRECATED_API |
Returns a touch point at the index requested. | |
Public Attributes | |
TouchPointContainer | points |
This is a container of points for this touch event. | |
unsigned long | time |
The time (in ms) that the touch event occurred. |
Detailed Description
Touch events are a collection of touch points at a specific moment in time.
- Deprecated:
- Deprecated since 3.0, DALi version 1.1.37 Use TouchData instead
When a multi-touch event occurs, each touch point represents the points that are currently being touched or the points where a touch has stopped.
- Since:
- 3.0, DALi version 1.0.0
Constructor & Destructor Documentation
Default constructor.
- Deprecated:
- Deprecated since 3.0, DALi version 1.1.37
- Since:
- 3.0, DALi version 1.0.0
Dali::TouchEvent::TouchEvent | ( | unsigned long | time | ) |
Constructor.
- Deprecated:
- Deprecated since 3.0, DALi version 1.1.37
- Since:
- 3.0, DALi version 1.0.0
- Parameters:
-
[in] time The time the event occurred
Member Function Documentation
const TouchPoint& Dali::TouchEvent::GetPoint | ( | uint32_t | point | ) | const |
Returns a touch point at the index requested.
- Deprecated:
- Deprecated since 3.0, DALi version 1.1.37
The first point in the set is always the primary touch point (i.e. the first point touched in a multi-touch event).
- Since:
- 3.0, DALi version 1.0.0
- Parameters:
-
[in] point The index of the required Point
- Returns:
- Point requested
- Note:
- "point" should be less than the value returned by GetPointCount(). If out of range, then program asserts.
uint32_t Dali::TouchEvent::GetPointCount | ( | ) | const |
Returns the total number of points in this TouchEvent.
- Deprecated:
- Deprecated since 3.0, DALi version 1.1.37
- Since:
- 3.0, DALi version 1.0.0
- Returns:
- Total number of Points
Member Data Documentation
This is a container of points for this touch event.
- Deprecated:
- Deprecated since 3.0, DALi version 1.1.37
The first point in the set is always the primary touch point (i.e. the first point touched in a multi-touch event).
unsigned long Dali::TouchEvent::time |
The time (in ms) that the touch event occurred.
- Deprecated:
- Deprecated since 3.0, DALi version 1.1.37