Tizen Native API
|
Dali::TouchEvent Struct Reference
Touch events are a collection of touch points at a specific moment in time. More...
Public Member Functions | |
TouchEvent () | |
Default constructor. | |
TouchEvent (unsigned long time) | |
Constructor. | |
~TouchEvent () | |
Destructor. | |
unsigned int | GetPointCount () const |
Returns the total number of points in this TouchEvent. | |
const TouchPoint & | GetPoint (unsigned int point) const |
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.
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 :
- 2.4
Constructor & Destructor Documentation
Default constructor.
- Since :
- 2.4
Dali::TouchEvent::TouchEvent | ( | unsigned long | time | ) |
Constructor.
- Since :
- 2.4
- Parameters:
-
[in] time The time the event occurred
Destructor.
- Since :
- 2.4
Member Function Documentation
const TouchPoint& Dali::TouchEvent::GetPoint | ( | unsigned int | point | ) | const |
Returns a touch point at the index requested.
The first point in the set is always the primary touch point (i.e. the first point touched in a multi-touch event).
- Since :
- 2.4
- 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.
unsigned int Dali::TouchEvent::GetPointCount | ( | ) | const |
Member Data Documentation
This is a container of points for this touch event.
The first point in the set is always the primary touch point (i.e. the first point touched in a multi-touch event).