Dali 3D User Interface Engine
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
Dali_core_actors
Collaboration diagram for Dali_core_actors:

Classes

class  Dali::Actor
 Actor is the primary object with which Dali applications interact. More...
 
class  Dali::CameraActor
 Controls a camera. More...
 
class  Dali::CustomActorImpl
 CustomActorImpl is an abstract base class for custom control implementations. More...
 
class  Dali::CustomActor
 CustomActor is a base class for custom UI controls. More...
 
class  Dali::ImageActor
 .11 More...
 
class  Dali::Layer
 Layers provide a mechanism for overlaying groups of actors on top of each other. More...
 

Namespaces

namespace  Dali::Dimension
 Dimensions for layout .0.
 
namespace  Dali::ResizePolicy
 Size negotiation resize policies .0.
 
namespace  Dali::SizeScalePolicy
 Policies to determine how an actor should resize itself when having its size set in size negotiation .0.
 
namespace  Dali::HorizontalAlignment
 Horizontal alignment types.
 
namespace  Dali::VerticalAlignment
 Vertical alignment types.
 
namespace  Dali::DALI_INTERNAL
 
namespace  Dali::BlendingMode
 
namespace  Dali::BlendingFactor
 
namespace  Dali::BlendingEquation
 
namespace  Dali::Camera
 Camera enumerations.
 
namespace  Dali::DrawMode
 
namespace  Dali::FilterMode
 
namespace  Dali::WrapMode
 

Typedefs

typedef Rect< float > Dali::Padding
 Padding definition .0. More...
 
typedef IntrusivePtr
< CustomActorImpl > 
Dali::CustomActorImplPtr
 Pointer to Dali::CustomActorImpl object. More...
 
typedef Rect< int > Dali::ClippingBox
 Rectangle describing area on screen that a layer can draw to. More...
 

Enumerations

enum  Dali::ColorMode { Dali::USE_OWN_COLOR, Dali::USE_PARENT_COLOR, Dali::USE_OWN_MULTIPLY_PARENT_COLOR, Dali::USE_OWN_MULTIPLY_PARENT_ALPHA }
 Actor color mode. More...
 
enum  Dali::PositionInheritanceMode { Dali::INHERIT_PARENT_POSITION, Dali::USE_PARENT_POSITION, Dali::USE_PARENT_POSITION_PLUS_LOCAL_POSITION, Dali::DONT_INHERIT_POSITION }
 Actor position inheritance mode. More...
 

Functions

void Dali::UnparentAndReset (Actor &actor)
 Helper for discarding an actor handle. More...
 
void Dali::SetShaderEffectRecursively (Dali::Actor actor, Dali::ShaderEffect effect)
 Sets the shader effect for all ImageActors in a tree of Actors. More...
 
void Dali::RemoveShaderEffectRecursively (Dali::Actor actor)
 Removes the shader effect from all ImageActors in a tree of Actors. More...
 

Variables

DALI_IMPORT_API const
BlendingFactor::Type 
Dali::DEFAULT_BLENDING_SRC_FACTOR_RGB
 BlendingFactor::SRC_ALPHA. More...
 
DALI_IMPORT_API const
BlendingFactor::Type 
Dali::DEFAULT_BLENDING_DEST_FACTOR_RGB
 BlendingFactor::ONE_MINUS_SRC_ALPHA. More...
 
DALI_IMPORT_API const
BlendingFactor::Type 
Dali::DEFAULT_BLENDING_SRC_FACTOR_ALPHA
 BlendingFactor::ONE. More...
 
DALI_IMPORT_API const
BlendingFactor::Type 
Dali::DEFAULT_BLENDING_DEST_FACTOR_ALPHA
 BlendingFactor::ONE_MINUS_SRC_ALPHA. More...
 
DALI_IMPORT_API const
BlendingEquation::Type 
Dali::DEFAULT_BLENDING_EQUATION_RGB
 BlendingEquation::ADD. More...
 
DALI_IMPORT_API const
BlendingEquation::Type 
Dali::DEFAULT_BLENDING_EQUATION_ALPHA
 BlendingEquation::ADD. More...
 

Detailed Description

Typedef Documentation

typedef Rect< int > Dali::ClippingBox

Rectangle describing area on screen that a layer can draw to.

.0

See Also
Dali::Layer::SetClippingBox()

Definition at line 29 of file render-list.h.

typedef IntrusivePtr<CustomActorImpl> Dali::CustomActorImplPtr

Pointer to Dali::CustomActorImpl object.

.0

Definition at line 49 of file custom-actor-impl.h.

typedef Rect<float> Dali::Padding

Padding definition .0.

Definition at line 54 of file actor.h.

Enumeration Type Documentation

Actor color mode.

.0

Enumerator
USE_OWN_COLOR 

Actor will use its own color .0.

USE_PARENT_COLOR 

Actor will use its parent color .0.

USE_OWN_MULTIPLY_PARENT_COLOR 

Actor will blend its color with its parents color. .0.

USE_OWN_MULTIPLY_PARENT_ALPHA 

Actor will blend its alpha with its parents alpha. This means when parent fades in or out child does as well. This is the default. .0.

Definition at line 35 of file actor-enumerations.h.

Actor position inheritance mode.

.0

Enumerator
INHERIT_PARENT_POSITION 

Actor will inherit its parent position. This is the default .0.

USE_PARENT_POSITION 

Actor will copy its parent position. This is useful if many actors are stacked together in the same place. This option ignores parent origin and anchor point. .0.

USE_PARENT_POSITION_PLUS_LOCAL_POSITION 

Actor will copy its parent position and add local position. This is useful if many actors are stacked together in the same place with an offset. This option ignores parent origin and anchor point. .0.

DONT_INHERIT_POSITION 

Actor will not inherit position. Local position is treated as world position. This is useful if a constraint is used to override local position or if an actor is positioned globally. This option ignores parent origin, anchor point and local position. .0.

Definition at line 47 of file actor-enumerations.h.

Function Documentation

DALI_IMPORT_API void Dali::RemoveShaderEffectRecursively ( Dali::Actor  actor)

Removes the shader effect from all ImageActors in a tree of Actors.

.0

Remarks
This is an experimental feature and might not be supported in the next release. We do recommend not to use it.
Parameters
[in]actorRoot of a tree of actors
See Also
ImageActor::RemoveShaderEffect

Definition at line 241 of file image-actor.cpp.

References Dali::ImageActor::DownCast(), Dali::Actor::GetChildAt(), Dali::Actor::GetChildCount(), and Dali::ImageActor::RemoveShaderEffect().

Referenced by UtcDaliSetShaderEffectRecursively().

Here is the call graph for this function:

Here is the caller graph for this function:

DALI_IMPORT_API void Dali::SetShaderEffectRecursively ( Dali::Actor  actor,
Dali::ShaderEffect  effect 
)

Sets the shader effect for all ImageActors in a tree of Actors.

.0

Remarks
This is an experimental feature and might not be supported in the next release. We do recommend not to use it.
Parameters
[in]actorRoot of a tree of actors
[in]effectThe shader effect
See Also
ImageActor::SetShaderEffect

Definition at line 220 of file image-actor.cpp.

References Dali::ImageActor::DownCast(), Dali::Actor::GetChildAt(), Dali::Actor::GetChildCount(), and Dali::ImageActor::SetShaderEffect().

Referenced by Dali::Toolkit::Internal::PageTurnView::SetShaderEffect(), and UtcDaliSetShaderEffectRecursively().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::UnparentAndReset ( Actor &  actor)
inline

Variable Documentation

DALI_IMPORT_API const BlendingFactor::Type Dali::DEFAULT_BLENDING_DEST_FACTOR_ALPHA
DALI_IMPORT_API const BlendingFactor::Type Dali::DEFAULT_BLENDING_DEST_FACTOR_RGB
DALI_IMPORT_API const BlendingEquation::Type Dali::DEFAULT_BLENDING_EQUATION_ALPHA
DALI_IMPORT_API const BlendingEquation::Type Dali::DEFAULT_BLENDING_EQUATION_RGB
DALI_IMPORT_API const BlendingFactor::Type Dali::DEFAULT_BLENDING_SRC_FACTOR_ALPHA
DALI_IMPORT_API const BlendingFactor::Type Dali::DEFAULT_BLENDING_SRC_FACTOR_RGB
Dali Docs Home
Read more about Dali