Dali 3D User Interface Engine
List of all members | Public Member Functions
Dali::Internal::anonymous_namespace{hover-event-processor.cpp}::ActorHoverableCheck Struct Reference

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

Inheritance diagram for Dali::Internal::anonymous_namespace{hover-event-processor.cpp}::ActorHoverableCheck:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::anonymous_namespace{hover-event-processor.cpp}::ActorHoverableCheck:
Collaboration graph
[legend]

Public Member Functions

bool IsActorHittable (Actor *actor)
 Called by the hit-test algorithm to determine whether the actor is hittable or not. More...
 
bool DescendActorHierarchy (Actor *actor)
 Called by the hit-test algorithm to determine whether the algorithm should descend the actor's hierarchy (and hit-test its children as well). More...
 
bool DoesLayerConsumeHit (Layer *layer)
 Called by the hit-test algorithm to determine whether the layer specified consumes the hit regardless of whether an actor in the layer requires it or not. More...
 

Detailed Description

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

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

Member Function Documentation

bool Dali::Internal::anonymous_namespace{hover-event-processor.cpp}::ActorHoverableCheck::DescendActorHierarchy ( Actor actor)
inlinevirtual

Called by the hit-test algorithm to determine whether the algorithm should descend the actor's hierarchy (and hit-test its children as well).

Parameters
[in]actorRaw pointer to an Actor object.
Returns
true if we should descend the actor's hierarchy, false otherwise.

Implements Dali::Internal::HitTestAlgorithm::HitTestInterface.

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

References Dali::Internal::Actor::IsSensitive(), and Dali::Internal::Actor::IsVisible().

Here is the call graph for this function:

bool Dali::Internal::anonymous_namespace{hover-event-processor.cpp}::ActorHoverableCheck::DoesLayerConsumeHit ( Layer layer)
inlinevirtual

Called by the hit-test algorithm to determine whether the layer specified consumes the hit regardless of whether an actor in the layer requires it or not.

Note
If true is returned, then no layers behind this layer will be hit-test.
Parameters
[in]layerRaw pointer to a Layer object.
Returns
true if the layer should consume the hit, false otherwise.

Implements Dali::Internal::HitTestAlgorithm::HitTestInterface.

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

References Dali::Internal::Layer::IsHoverConsumed().

Here is the call graph for this function:

bool Dali::Internal::anonymous_namespace{hover-event-processor.cpp}::ActorHoverableCheck::IsActorHittable ( Actor actor)
inlinevirtual

Called by the hit-test algorithm to determine whether the actor is hittable or not.

Parameters
[in]actorRaw pointer to an Actor object.
Returns
true if actor is hittable, false otherwise.

Implements Dali::Internal::HitTestAlgorithm::HitTestInterface.

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

References Dali::Internal::Actor::GetHoverRequired(), and Dali::Internal::Actor::IsHittable().

Here is the call graph for this function:


The documentation for this struct was generated from the following file:
Dali Docs Home
Read more about Dali