Tizen Native API  6.5
Dali::HoverEvent Struct Reference

Hover events are a collection of touch points at a specific moment in time. More...

Public Member Functions

 HoverEvent ()
 Default constructor.
 HoverEvent (unsigned long time)
 Constructor.
 ~HoverEvent ()
 Destructor.
uint32_t GetPointCount () const
 Returns the total number of points in this HoverEvent.
const TouchPointGetPoint (uint32_t point) const
 Returns a touch point at the index requested.

Public Attributes

TouchPointContainer points
 This is a container of points for this hover event.
unsigned long time
 The time (in ms) that the hover event occurred.

Detailed Description

Hover 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 hovered or the points where a hover has stopped.

Since:
3.0, DALi version 1.0.0

Constructor & Destructor Documentation

Default constructor.

Since:
3.0, DALi version 1.0.0
Dali::HoverEvent::HoverEvent ( unsigned long  time)

Constructor.

Since:
3.0, DALi version 1.0.0
Parameters:
[in]timeThe time the event occurred

Destructor.

Since:
3.0, DALi version 1.0.0

Member Function Documentation

const TouchPoint& Dali::HoverEvent::GetPoint ( uint32_t  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:
3.0, DALi version 1.0.0
Parameters:
[in]pointThe 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::HoverEvent::GetPointCount ( ) const

Returns the total number of points in this HoverEvent.

Since:
3.0, DALi version 1.0.0
Returns:
Total number of Points

Member Data Documentation

This is a container of points for this hover event.

The first point in the set is always the primary touch point (i.e. the first point touched in a multi-touch event).