Dali 3D User Interface Engine
Classes | Functions
Dali::Internal::anonymous_namespace{hover-event-processor.cpp} Namespace Reference

Classes

struct  ActorHoverableCheck
 Used in the hit-test algorithm to check whether the actor is hoverable. More...
 

Functions

Dali::Actor EmitHoverSignals (Dali::Actor actor, const HoverEvent &event)
 Recursively deliver events to the actor and its parents, until the event is consumed or the stage is reached. More...
 
Dali::Actor EmitHoverSignals (Actor *actor, RenderTask &renderTask, const HoverEvent &originalEvent, TouchPoint::State state)
 Changes the state of the primary point to leave and emits the hover signals. More...
 

Function Documentation

Dali::Actor Dali::Internal::anonymous_namespace{hover-event-processor.cpp}::EmitHoverSignals ( Dali::Actor  actor,
const HoverEvent &  event 
)

Recursively deliver events to the actor and its parents, until the event is consumed or the stage is reached.

Definition at line 63 of file hover-event-processor.cpp.

References Dali::GetImplementation(), and Dali::Actor::GetParent().

Referenced by EmitHoverSignals(), and Dali::Internal::HoverEventProcessor::ProcessHoverEvent().

Here is the call graph for this function:

Here is the caller graph for this function:

Dali::Actor Dali::Internal::anonymous_namespace{hover-event-processor.cpp}::EmitHoverSignals ( Actor *  actor,
RenderTask &  renderTask,
const HoverEvent &  originalEvent,
TouchPoint::State  state 
)

Changes the state of the primary point to leave and emits the hover signals.

Definition at line 106 of file hover-event-processor.cpp.

References DALI_ASSERT_DEBUG, EmitHoverSignals(), Dali::TouchPoint::hitActor, Dali::TouchPoint::local, Dali::HoverEvent::points, Dali::TouchPoint::screen, Dali::Internal::Actor::ScreenToLocal(), Dali::TouchPoint::state, Dali::Vector2::x, and Dali::Vector2::y.

Here is the call graph for this function:

Dali Docs Home
Read more about Dali