Dali 3D User Interface Engine
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
Dali::Toolkit::Internal Namespace Reference

Namespaces

namespace  anonymous_namespace{accessibility-manager-impl.cpp}
 
namespace  anonymous_namespace{alignment-impl.cpp}
 
namespace  anonymous_namespace{atlas-manager-impl.cpp}
 
namespace  anonymous_namespace{atlas-packer.cpp}
 
namespace  anonymous_namespace{bloom-view-impl.cpp}
 
namespace  anonymous_namespace{blur-two-pass-filter.cpp}
 
namespace  anonymous_namespace{border-renderer.cpp}
 
namespace  anonymous_namespace{bouncing-effect-actor.cpp}
 
namespace  anonymous_namespace{builder-impl.cpp}
 
namespace  anonymous_namespace{builder-set-property.cpp}
 
namespace  anonymous_namespace{button-impl.cpp}
 
namespace  anonymous_namespace{check-box-button-impl.cpp}
 
namespace  anonymous_namespace{color-renderer.cpp}
 
namespace  anonymous_namespace{confirmation-popup-impl.cpp}
 
namespace  anonymous_namespace{control-renderer-data-impl.cpp}
 
namespace  anonymous_namespace{cube-transition-effect-impl.cpp}
 
namespace  anonymous_namespace{debug-renderer.cpp}
 
namespace  anonymous_namespace{effects-view-impl.cpp}
 
namespace  anonymous_namespace{emboss-filter.cpp}
 
namespace  anonymous_namespace{gaussian-blur-view-impl.cpp}
 
namespace  anonymous_namespace{gradient-renderer.cpp}
 
namespace  anonymous_namespace{image-atlas-manager.cpp}
 
namespace  anonymous_namespace{image-filter.cpp}
 
namespace  anonymous_namespace{image-renderer.cpp}
 
namespace  anonymous_namespace{image-view-impl.cpp}
 
namespace  anonymous_namespace{item-view-impl.cpp}
 
namespace  anonymous_namespace{json-parser-impl.cpp}
 
namespace  anonymous_namespace{json-parser-state.cpp}
 
namespace  anonymous_namespace{keyboard-focus-manager-impl.cpp}
 
namespace  anonymous_namespace{keyinput-focus-manager-impl.cpp}
 
namespace  anonymous_namespace{magnifier-impl.cpp}
 
namespace  anonymous_namespace{model3d-view-impl.cpp}
 
namespace  anonymous_namespace{npatch-renderer.cpp}
 
namespace  anonymous_namespace{page-turn-landscape-view-impl.cpp}
 
namespace  anonymous_namespace{page-turn-portrait-view-impl.cpp}
 
namespace  anonymous_namespace{page-turn-view-impl.cpp}
 
namespace  anonymous_namespace{popup-impl.cpp}
 
namespace  anonymous_namespace{push-button-impl.cpp}
 
namespace  anonymous_namespace{radio-button-impl.cpp}
 
namespace  anonymous_namespace{renderer-factory-impl.cpp}
 
namespace  anonymous_namespace{replacement.cpp}
 
namespace  anonymous_namespace{script-impl.cpp}
 
namespace  anonymous_namespace{scroll-bar-impl.cpp}
 
namespace  anonymous_namespace{scroll-view-impl.cpp}
 
namespace  anonymous_namespace{scrollable-impl.cpp}
 
namespace  anonymous_namespace{shadow-view-impl.cpp}
 
namespace  anonymous_namespace{slider-impl.cpp}
 
namespace  anonymous_namespace{spread-filter.cpp}
 
namespace  anonymous_namespace{style-manager-impl.cpp}
 
namespace  anonymous_namespace{super-blur-view-impl.cpp}
 
namespace  anonymous_namespace{table-view-impl.cpp}
 
namespace  anonymous_namespace{text-editor-impl.cpp}
 
namespace  anonymous_namespace{text-field-impl.cpp}
 
namespace  anonymous_namespace{text-label-impl.cpp}
 
namespace  anonymous_namespace{text-selection-popup-impl.cpp}
 
namespace  anonymous_namespace{text-selection-toolbar-impl.cpp}
 
namespace  anonymous_namespace{tool-bar-impl.cpp}
 
namespace  anonymous_namespace{tree-node-manipulator.cpp}
 
namespace  AtlasMeshFactory
 
namespace  Internal
 

Classes

class  AccessibilityManager
 Manages registration of actors in an accessibility focus chain and changing the focused actor within that chain. More...
 
class  Builder
 This class provides the ability to load and style an actor tree from a string representation. More...
 
class  JsonParser
 
class  JsonParserState
 
class  Replacement
 
class  TreeNodeManipulator
 
struct  CollectNodes
 
class  Alignment
 Alignment is a control to position and resize actors inside other container actors. More...
 
struct  RecipOneMinusConstraint
 RecipOneMinusConstraint. More...
 
class  BloomView
 BloomEffect implementation class. More...
 
class  BubbleActor
 BubbleActor is a group of bubbles.Each bubble can be moved separately. More...
 
class  BubbleEmitter
 BubbleEmitter implementation class. More...
 
class  Button
 Button is the base class implementation for all buttons. More...
 
class  CheckBoxButton
 CheckBoxButton implementation class. More...
 
class  PushButton
 PushButton implementation class. More...
 
class  RadioButton
 RadioButton implementation class. More...
 
class  EffectsView
 EffectsView implementation class. More...
 
class  GaussianBlurView
 GaussianBlurView implementation class. More...
 
class  ImageView
 
class  Magnifier
 Magnifier control is used to apply a magnify effect to content on the stage. More...
 
class  Model3dView
 Impl class for Model3dView. More...
 
class  ObjLoader
 
class  PageTurnLandscapeView
 
class  PageTurnPortraitView
 Implementation class of the PageTurnView in portrait mode. More...
 
class  PageTurnView
 
class  ConfirmationPopup
 ConfirmationPopup implementation class. More...
 
class  Popup
 The Popup widget provides a configurable pop-up dialog with built-in layout of three main fields. More...
 
class  BorderRenderer
 The renderer which renders a solid color to the control's quad border fixed to a specified size. More...
 
class  ColorRenderer
 The renderer which renders a solid color to the control's quad. More...
 
class  ControlRenderer
 Base class for all Control rendering logic. More...
 
class  DebugRenderer
 The renderer which renders a wireframe outline to the control's quad for debugging. More...
 
class  GradientRenderer
 The renderer which renders smooth transition of colors to the control's quad. More...
 
class  Gradient
 Gradients consist of continuously smooth color transitions along a vector from one color to another, possibly followed by additional transitions along the same vector to other colors. More...
 
class  LinearGradient
 Linear gradients change color evenly along a straight line. More...
 
class  RadialGradient
 Radial gradients change color circularly. More...
 
class  ImageRenderer
 The renderer which renders an image to the control's quad. More...
 
class  ImageAtlasManager
 The manager for automatic image atlasing. More...
 
class  NPatchRenderer
 The renderer which renders an 9 patch image to the control's quad. More...
 
class  RendererFactoryCache
 Caches shaders and geometries. More...
 
class  RendererFactory
 RendererFactory is a singleton object that provides and shares renderers for controls. More...
 
class  ScrollBar
 ScrollBar is a UI component that can be added to the scrollable controls indicating the current scroll position of the scrollable content. More...
 
class  DepthLayout
 This layout arranges items in a grid, which scrolls along the Z-Axis. More...
 
class  GridLayout
 An ItemView layout which arranges items in a grid. More...
 
class  ItemView
 ItemView is a scrollable layout container. More...
 
class  SpiralLayout
 An ItemView layout which arranges items in a spiral. More...
 
class  ScrollBase
 ScrollBase represents a set of properties (time, position scale etc.) that constrain a set of actors. More...
 
struct  ScrollOvershootIndicator
 
struct  ScrollOvershootEffect
 ScrollOvershootEffect is a derivable class, designed to allow the application programmer to create their own overshoot effect and apply it with minimal implementation required. More...
 
struct  ScrollOvershootEffectRipple
 ScrollOvershootEffectRipple creates an animated bounce effect at the end of the scrollable area if the user attempts to scroll past it. More...
 
class  ScrollViewEffect
 ScrollView Effect base class, used to apply custom effects to a ScrollView instance. More...
 
class  ScrollView
 ScrollView contains actors that can be scrolled manually (via touch) or automatically. More...
 
class  ScrollViewPagePathEffect
 ScrollView Page Path Effect. More...
 
class  Scrollable
 Base class for derived Scrollables that contains actors that can be scrolled manually (via touch) or automatically. More...
 
class  ShadowView
 ShadowView implementation class. More...
 
class  Slider
 Slider is a control to enable sliding an indicator between two values. More...
 
class  SuperBlurView
 SuperBlurView implementation class. More...
 
class  TableView
 TableView is a custom control for laying out actors in a table layout. More...
 
class  TextEditor
 A control which renders a long text string with styles. More...
 
class  TextField
 A control which renders a short text string. More...
 
class  TextLabel
 A control which renders a short text string. More...
 
class  TextSelectionPopup
 
class  TextSelectionToolbar
 
class  ToolBar
 ToolBar is a control to create a tool bar. More...
 
struct  SignalFeedbackInfo
 
struct  FeedbackStyleInfo
 
struct  PlayFeedbackFromSignal
 
class  FeedbackStyle
 Plays feedback effects for Dali-Toolkit UI Controls. More...
 
class  BlurTwoPassFilter
 A two pass blur filter, pass one performs a horizontal blur and pass two performs a vertical blur on the result of pass one. More...
 
class  EmbossFilter
 An embossing image filter, implements Dali::Toolkit::Internal::ImageFilter. More...
 
class  ImageFilter
 An interface class that provides a interface for image filters that perform a simple shader effect on an input image, rendering the output to a FrameBufferImage. More...
 
class  SpreadFilter
 A spread/thicken filter. More...
 
class  KeyboardFocusManager
 Provides the functionality of handling keyboard navigation and maintaining the two dimensional keyboard focus chain. More...
 
class  KeyInputFocusManager
 KeyInputFocusManager This class provides the functionality of registering for keyboard events for controls. More...
 
class  AtlasPacker
 Binary space tree based bin packing algorithm. More...
 
class  ImageAtlas
 
struct  LoadingTask
 The task of loading and packing an image into the atlas. More...
 
class  LoadQueue
 The queue of the tasks waiting to load the bitmap from the URL in the worker thread/. More...
 
class  CompleteQueue
 The queue of the tasks, with the image loaded, waiting for the main thread to upload the bitmap. More...
 
class  ImageLoadThread
 The worker thread for image loading. More...
 
class  Script
 Script This class provides the ability to execute script in a supported language. More...
 
class  ScriptPluginProxy
 Proxy class to dynamically load, use and unload script plugin. More...
 
class  StyleManager
 StyleManager provides the following functionalities: More...
 
class  AtlasGlyphManager
 
class  AtlasManager
 
class  CubeTransitionCrossEffect
 
class  CubeTransitionEffect
 CubeTransitionEffect implementation class. More...
 
class  CubeTransitionFoldEffect
 
class  CubeTransitionWaveEffect
 
class  Control
 This is the internal base class for all controls. More...
 
class  TETButton
 Internal implementation. More...
 

Typedefs

typedef std::vector< char > VectorChar
 
typedef VectorChar::iterator VectorCharIter
 
typedef IntrusivePtr< BubbleActorBubbleActorPtr
 
typedef IntrusivePtr< MagnifierMagnifierPtr
 
typedef IntrusivePtr< PopupPopupPtr
 
typedef IntrusivePtr
< ImageRenderer
ImageRendererPtr
 
typedef IntrusivePtr
< RendererFactoryCache
RendererFactoryCachePtr
 
typedef IntrusivePtr
< ImageAtlasManager
ImageAtlasManagerPtr
 
typedef IntrusivePtr< ScrollBarScrollBarPtr
 
typedef IntrusivePtr< DepthLayoutDepthLayoutPtr
 
typedef IntrusivePtr< GridLayoutGridLayoutPtr
 Pointer to a Dali::Toolkit::GridLayout object. More...
 
typedef IntrusivePtr< ItemViewItemViewPtr
 
typedef IntrusivePtr
< SpiralLayout
SpiralLayoutPtr
 
typedef IntrusivePtr< ActorActorPtr
 
typedef std::list< ConstraintConstraintStack
 
typedef IntrusivePtr
< ScrollOvershootEffect
ScrollOvershootEffectPtr
 
typedef IntrusivePtr
< ScrollOvershootEffectGradient > 
ScrollOvershootEffectGradientPtr
 
typedef IntrusivePtr
< ScrollOvershootEffectRipple
ScrollOvershootEffectRipplePtr
 
typedef IntrusivePtr< ScrollViewScrollViewPtr
 
typedef IntrusivePtr
< ScrollInternalConstraints > 
ScrollInternalConstraintsPtr
 
typedef IntrusivePtr
< ScrollOvershootIndicator
ScrollOvershootIndicatorPtr
 
typedef IntrusivePtr< ScrollableScrollablePtr
 
typedef Dali::IntrusivePtr
< Slider
SliderPtr
 
typedef std::vector
< SignalFeedbackInfo
SignalFeedbackInfoContainer
 
typedef
SignalFeedbackInfoContainer::const_iterator 
SignalFeedbackInfoConstIter
 
typedef IntrusivePtr
< AtlasGlyphManager
AtlasGlyphManagerPtr
 
typedef Dali::Vector
< Toolkit::AtlasManager::AtlasSlot
slotContainer
 
typedef IntrusivePtr
< AtlasManager
AtlasManagerPtr
 

Enumerations

enum  PopupCustomisations { POPUP_MAXIMUM_SIZE, OPTION_MAXIMUM_SIZE, OPTION_MINIMUM_SIZE, OPTION_DIVIDER_SIZE }
 

Functions

void DeterminePropertyFromNode (const TreeNode &node, Property::Value &value, const Replacement &constant)
 
Actor SetupActor (const TreeNode &child, Actor &actor, const Replacement &constant)
 
Animation CreateAnimation (const TreeNode &child, const Replacement &constant, Dali::Actor searchRoot, Builder *const builder)
 
Animation CreateAnimation (const TreeNode &child, Builder *const builder)
 
void DeterminePropertyFromNode (const TreeNode &node, Property::Value &value)
 
bool DeterminePropertyFromNode (const TreeNode &node, Property::Type type, Property::Value &value)
 
bool DeterminePropertyFromNode (const TreeNode &node, Property::Type type, Property::Value &value, const Replacement &replacements)
 
Actor SetupSignalAction (ConnectionTracker *tracker, const TreeNode &root, const TreeNode &child, Actor actor, Dali::Toolkit::Internal::Builder *const builder)
 Setup signals and actions on an actor. More...
 
Actor SetupPropertyNotification (ConnectionTracker *tracker, const TreeNode &root, const TreeNode &child, Actor actor, Dali::Toolkit::Internal::Builder *const builder)
 Setup Property notifications for an actor. More...
 
bool Disambiguated (const TreeNode &child, Dali::Property::Value &value, const Replacement &replacement)
 A property value type can be forced when its unknown by a disambiguation convention in the json ie "myarray": [1,2,3,4] ; would be a vector but "myarray": {"typeCast":"array", "value":[1,2,3,4]} would be an array. More...
 
Actor SetupSignalAction (const TreeNode &child, Actor actor, Dali::Toolkit::Internal::Builder *const builder)
 
Actor SetupPropertyNotification (const TreeNode &child, Actor actor, Dali::Toolkit::Internal::Builder *const builder)
 
template<typename IteratorType , typename EndIteratorType >
int AdvanceIter (IteratorType &iter, EndIteratorType &end, int n)
 
const TreeNodeFindIt (const std::string &childName, const TreeNode *node)
 
char * CopyString (const char *fromString, VectorCharIter &iter, const VectorCharIter &sentinel)
 
template<typename Operation >
void DepthFirst (TreeNode *node, Operation &operation)
 
Shader CreateBubbleShader (unsigned int numBubble)
 Create the shader to be used by the material. More...
 
ShaderEffect CreateColorAdjuster (const Vector3 &hsvDelta, bool ignoreAlpha=false)
 Creates a new ColorAdjuster effect. More...
 
void LookAt (Matrix &result, const Vector3 &eye, const Vector3 &target, const Vector3 &up)
 
ShaderEffect CreatePageTurnBookSpineEffect ()
 Creates a new PageTurnBookSpineEffect This is an assisting effect of PageTurnEffect to display a book spine on static pages, and also to flip the image horizontally when needed. More...
 
void PageTurnApplyInternalConstraint (ShaderEffect &shaderEffect)
 Re-applies PageTurnEffect internal constraints The internal constraint uses the OriginalCenter property and the CurrentCenter Property to update the variety of common parameters which are with the same value for all the vertices. More...
 
ShaderEffect CreatePageTurnEffect ()
 Create a new PageTurnEffect PageTurnEffect is a custom shader effect to achieve page turn effect for Image actors. More...
 
Actor CreateBouncingEffectActor (Property::Index &bouncePropertyIndex)
 Creates a Dali::Actor to display the bouncing effect for overshoot. More...
 
ControlGetImplementation (Dali::Toolkit::Control &handle)
 Get implementation from the handle. More...
 
const ControlGetImplementation (const Dali::Toolkit::Control &handle)
 Get implementation from the handle. More...
 

Variables

static const FeedbackStyleInfo DEFAULT_FEEDBACK_STYLE_INFO
 

Typedef Documentation

Definition at line 40 of file scroll-base-impl.h.

Definition at line 44 of file atlas-glyph-manager-impl.h.

Definition at line 46 of file atlas-manager-impl.h.

Definition at line 46 of file bubble-emitter-impl.h.

Definition at line 43 of file scroll-base-impl.h.

Definition at line 33 of file depth-layout.h.

Pointer to a Dali::Toolkit::GridLayout object.

Definition at line 34 of file grid-layout.h.

Definition at line 39 of file renderer-factory-impl.h.

Definition at line 41 of file image-renderer.h.

Definition at line 43 of file item-view-impl.h.

Definition at line 40 of file magnifier-impl.h.

Definition at line 42 of file popup-impl.h.

Definition at line 36 of file renderer-factory-impl.h.

Definition at line 34 of file scrollable-impl.h.

Definition at line 42 of file scroll-bar-impl.h.

Definition at line 44 of file scroll-view-impl.h.

Definition at line 42 of file scroll-overshoot-indicator-impl.h.

Definition at line 40 of file scroll-overshoot-indicator-impl.h.

Definition at line 43 of file scroll-overshoot-indicator-impl.h.

Definition at line 47 of file scroll-view-impl.h.

Definition at line 41 of file scroll-view-impl.h.

typedef SignalFeedbackInfoContainer::const_iterator Dali::Toolkit::Internal::SignalFeedbackInfoConstIter

Definition at line 86 of file feedback-style.cpp.

Definition at line 85 of file feedback-style.cpp.

Definition at line 43 of file slider-impl.h.

Definition at line 44 of file atlas-manager-impl.h.

Definition at line 34 of file spiral-layout.h.

typedef std::vector<char> Dali::Toolkit::Internal::VectorChar

Definition at line 40 of file tree-node-manipulator.h.

typedef VectorChar::iterator Dali::Toolkit::Internal::VectorCharIter

Definition at line 41 of file tree-node-manipulator.h.

Enumeration Type Documentation

Enumerator
POPUP_MAXIMUM_SIZE 
OPTION_MAXIMUM_SIZE 
OPTION_MINIMUM_SIZE 
OPTION_DIVIDER_SIZE 

Definition at line 41 of file text-selection-popup-impl.h.

Function Documentation

template<typename IteratorType , typename EndIteratorType >
int Dali::Toolkit::Internal::AdvanceIter ( IteratorType &  iter,
EndIteratorType &  end,
int  n 
)
inline
char * Dali::Toolkit::Internal::CopyString ( const char *  fromString,
VectorCharIter &  iter,
const VectorCharIter &  sentinel 
)

Definition at line 579 of file tree-node-manipulator.cpp.

References DALI_ASSERT_DEBUG.

Referenced by Dali::Toolkit::Internal::TreeNodeManipulator::MoveNodeStrings().

Here is the caller graph for this function:

Animation Dali::Toolkit::Internal::CreateAnimation ( const TreeNode child,
const Replacement &  constant,
Dali::Actor  searchRoot,
Builder *const  builder 
)

Definition at line 154 of file builder-animations.cpp.

References Dali::KeyFrames::Add(), Dali::Animation::Animate(), Dali::Animation::AnimateBetween(), Dali::Animation::AnimateBy(), Dali::Animation::AnimateTo(), Dali::Animation::Bake, Dali::Animation::BakeFinal, DALI_ASSERT_ALWAYS, DALI_LOG_WARNING, DALI_SCRIPT_WARNING, Dali::AlphaFunction::DEFAULT, Dali::TimePeriod::delaySeconds, Dali::Animation::Discard, Dali::ImageActor::DownCast(), Dali::Actor::DownCast(), Dali::TimePeriod::durationSeconds, Dali::Actor::FindChildByName(), anonymous_namespace{builder-animations.cpp}::GetAlphaFunction(), Dali::Stage::GetCurrent(), Dali::PropertyTypes::GetName(), Dali::Toolkit::Internal::Builder::GetPath(), Dali::Handle::GetPropertyIndex(), Dali::Handle::GetPropertyType(), anonymous_namespace{builder-animations.cpp}::GetPropertyValue(), Dali::Stage::GetRootLayer(), Dali::ImageActor::GetShaderEffect(), anonymous_namespace{builder-animations.cpp}::GetTimePeriod(), Dali::Property::INVALID_INDEX, Dali::Toolkit::Internal::Replacement::IsBoolean(), IsChild(), Dali::Toolkit::Internal::Replacement::IsFloat(), IsString(), Dali::Toolkit::Internal::Replacement::IsString(), Dali::Toolkit::Internal::Replacement::IsVector3(), Dali::KeyFrames::New(), Dali::Animation::New(), Dali::Property::object, Dali::Property::propertyIndex, Dali::Animation::SetDisconnectAction(), Dali::Animation::SetDuration(), Dali::Animation::SetEndAction(), Dali::Animation::SetLooping(), and Dali::Property::Value().

Referenced by Dali::Toolkit::Internal::Builder::CreateAnimation(), CreateAnimation(), and anonymous_namespace{builder-signals.cpp}::DelayedAnimationPlay::operator()().

Here is the call graph for this function:

Here is the caller graph for this function:

Animation Dali::Toolkit::Internal::CreateAnimation ( const TreeNode child,
Builder *const  builder 
)

Definition at line 418 of file builder-animations.cpp.

References CreateAnimation(), and Dali::Stage::GetCurrent().

Here is the call graph for this function:

Actor Dali::Toolkit::Internal::CreateBouncingEffectActor ( Property::Index &  bouncePropertyIndex)

Creates a Dali::Actor to display the bouncing effect for overshoot.

Usage example:

// create the actor and get the property index for animation
Actor bounceActor = CreateBouncingEffectActor( bouncePropertyIndex );
// set size and color
bounceActor.SetSize(720.f, 42.f );
bounceActor.SetColor( Vector4( 0.0,0.64f,0.85f,0.25f ) );
// add to stage
bounceActor.SetParentOrigin(ParentOrigin::CENTER);
Stage::GetCurrent().Add(bounceActor);
// start the bouncing animation
Animation anim = Animation::New(2.0f);
anim.AnimateTo( Property( bounceActor, bouncePropertyIndex ), 1.f, AlphaFunction::SIN );
anim.Play();
Parameters
[out]bouncePropertyIndexThe property index which controls the bouncing
Returns
The actor which displays the bouncing effect

Definition at line 78 of file bouncing-effect-actor.cpp.

References Dali::Actor::AddRenderer(), Dali::Geometry::AddVertexBuffer(), Dali::Property::INTEGER, Dali::Property::Map(), Dali::Geometry::New(), Dali::PropertyBuffer::New(), Dali::Handle::New(), Dali::Actor::New(), Dali::Handle::RegisterProperty(), Dali::PropertyBuffer::SetData(), Dali::Geometry::SetIndexBuffer(), and Dali::Property::VECTOR3.

Referenced by Dali::Toolkit::Internal::ItemView::EnableScrollOvershoot(), and Dali::Toolkit::Internal::ScrollOvershootEffectRipple::ScrollOvershootEffectRipple().

Here is the call graph for this function:

Here is the caller graph for this function:

Shader Dali::Toolkit::Internal::CreateBubbleShader ( unsigned int  numBubble)
inline

Create the shader to be used by the material.

Parameters
[in]numberOfBubbleHow many groups of uniforms are used to control the bubble movement.
Returns
A handle to the newly created shader.

Definition at line 39 of file bubble-effect.h.

References DALI_COMPOSE_SHADER, FRAGMENT_SHADER, main(), Dali::Toolkit::Text::min(), Dali::Handle::New(), and VERTEX_SHADER.

Referenced by Dali::Toolkit::Internal::BubbleEmitter::OnInitialize().

Here is the call graph for this function:

Here is the caller graph for this function:

ShaderEffect Dali::Toolkit::Internal::CreateColorAdjuster ( const Vector3 &  hsvDelta,
bool  ignoreAlpha = false 
)
inline

Creates a new ColorAdjuster effect.

ColorAdjuster is a custom shader effect to adjust the image color in HSV space.

Parameters
[in]hsvDeltaThe color difference to apply to the HSV channel.
[in]ignoreAlphaIf true, the result color will be opaque even though source has alpha value
Returns
A handle to a newly allocated Dali resource.

Definition at line 39 of file color-adjuster.h.

References DALI_COMPOSE_SHADER, main(), Dali::Toolkit::Text::min(), and Dali::Handle::New().

Referenced by Dali::Toolkit::Internal::BubbleEmitter::SetBackground().

Here is the call graph for this function:

Here is the caller graph for this function:

ShaderEffect Dali::Toolkit::Internal::CreatePageTurnBookSpineEffect ( )
inline

Creates a new PageTurnBookSpineEffect This is an assisting effect of PageTurnEffect to display a book spine on static pages, and also to flip the image horizontally when needed.

When the page is turned over in landscape, call SetIsBackImageVisible(true), this effect can display the back image correctly after the imageActor been rotated 180 degrees. To display the pages visually consistent with its turning state, please set the uniforms with the same values as the PageTurnEffect.

Animatable/Constrainable uniforms: "uSpineShadowParameter" - The two parameters are the major&minor radius (in pixels) to form an ellipse shape. The top-left quarter of this ellipse is used to calculate spine normal for simulating shadow "uIsBackImageVisible" - Set whether the current page is with its backside visible. Need to pass the parameter as true for the page which is turned over but still visible in Landscape "uPageWidth" - The page width of the PageTurnBookSpineEffect

Returns
A handle to a newly allocated ShaderEffect

Definition at line 52 of file page-turn-book-spine-effect.h.

References DALI_COMPOSE_SHADER, anonymous_namespace{page-turn-view-impl.cpp}::DEFAULT_SPINE_SHADOW_PARAMETER, Dali::Stage::GetCurrent(), Dali::Stage::GetSize(), main(), Dali::Handle::New(), Dali::ShaderEffect::SetUniform(), and Dali::Vector2::x.

Referenced by Dali::Toolkit::Internal::PageTurnView::OnInitialize().

Here is the call graph for this function:

Here is the caller graph for this function:

ShaderEffect Dali::Toolkit::Internal::CreatePageTurnEffect ( )

Create a new PageTurnEffect PageTurnEffect is a custom shader effect to achieve page turn effect for Image actors.

Usage example:-

// create shader used for doing page-turn effect
ShaderEffect pageTurnEffect = CreatePageTurnEffect();

// set image actor shader to the page-turn one
// for portrait view, one image actor for each page
// for landscape view, the page turned over is still visible, so back image is needed
// in this case, create another image Actor using the back image and added to the page actor
ImageActor pageActor = ImageActor::New(....);
ImageActor backImageActor = ImageActor::New(....);
pageActor.Add(backPageActor);
pageActor.SetShaderEffect ( pageTurnEffect );

//set initial values pageTurnEffect.SetUniform("uPageSize", Vector2);
pageTurnEffect.SetUniform("uOriginalCenter", Vector2);
pageTurnEffect.SetUniform("uIsTurningBack", bool);
pageTurnEffect.SetUniform("uCurrentCenter",Vector2);

//Animate it with the current center property
Animation animation[mAnimationIndex] = Animation::New( ... );
animation.AnimateTo(Property( pageTurnEffect, "uCurrentCenter" ), currentCenter, AlphaFunction::...);
animation[mAnimationIndex].Play();

Animatable/Constrainable uniforms:

Definition at line 99 of file page-turn-effect.cpp.

References DALI_COMPOSE_SHADER, anonymous_namespace{page-turn-view-impl.cpp}::DEFAULT_SPINE_SHADOW_PARAMETER, Dali::Stage::GetCurrent(), Dali::Stage::GetSize(), height, Dali::ShaderEffect::HINT_GRID, main(), Dali::Toolkit::Text::min(), Dali::Handle::New(), and PageTurnApplyInternalConstraint().

Referenced by Dali::Toolkit::Internal::PageTurnView::OnInitialize().

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename Operation >
void Dali::Toolkit::Internal::DepthFirst ( TreeNode node,
Operation &  operation 
)

Definition at line 224 of file tree-node-manipulator.h.

References Dali::Toolkit::TreeNode::CBegin(), Dali::Toolkit::TreeNode::CEnd(), and DALI_ASSERT_DEBUG.

Referenced by Dali::Toolkit::Internal::TreeNodeManipulator::RemoveChildren().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Toolkit::Internal::DeterminePropertyFromNode ( const TreeNode node,
Property::Value &  value,
const Replacement &  constant 
)
bool Dali::Toolkit::Internal::DeterminePropertyFromNode ( const TreeNode node,
Property::Value &  value 
)

Definition at line 401 of file builder-set-property.cpp.

References DeterminePropertyFromNode().

Here is the call graph for this function:

bool Dali::Toolkit::Internal::DeterminePropertyFromNode ( const TreeNode node,
Property::Type  type,
Property::Value &  value 
)

Definition at line 171 of file builder-set-property.cpp.

References DeterminePropertyFromNode().

Here is the call graph for this function:

bool Dali::Toolkit::Internal::DeterminePropertyFromNode ( const TreeNode node,
Property::Type  type,
Property::Value &  value,
const Replacement &  replacements 
)
bool Dali::Toolkit::Internal::Disambiguated ( const TreeNode child,
Dali::Property::Value value,
const Replacement &  replacement 
)

A property value type can be forced when its unknown by a disambiguation convention in the json ie "myarray": [1,2,3,4] ; would be a vector but "myarray": {"typeCast":"array", "value":[1,2,3,4]} would be an array.

Parameters
childThe node whos string to search for a disambiguated type
valueThe value to set
overrideMapThe user overriding constant map
defaultMapThe default map.
Returns
True if child contained a disambiguated string that could be converted.

Definition at line 112 of file builder-set-property.cpp.

References Dali::Property::ARRAY, Dali::Property::BOOLEAN, DeterminePropertyFromNode(), Dali::Property::FLOAT, IsChild(), IsString(), Dali::Property::MAP, Dali::Property::RECTANGLE, Dali::Property::ROTATION, Dali::Toolkit::TreeNode::Size(), Dali::Property::STRING, Dali::Property::VECTOR2, Dali::Property::VECTOR3, and Dali::Property::VECTOR4.

Referenced by DeterminePropertyFromNode().

Here is the call graph for this function:

Here is the caller graph for this function:

const TreeNode * Dali::Toolkit::Internal::FindIt ( const std::string &  childName,
const TreeNode node 
)

Definition at line 553 of file tree-node-manipulator.cpp.

References Dali::Toolkit::TreeNode::CBegin(), Dali::Toolkit::TreeNode::CEnd(), DALI_ASSERT_DEBUG, and Dali::Toolkit::TreeNode::GetChild().

Referenced by Dali::Toolkit::TreeNode::Find().

Here is the call graph for this function:

Here is the caller graph for this function:

DALI_IMPORT_API Internal::Control & Dali::Toolkit::Internal::GetImplementation ( Dali::Toolkit::Control handle)

Get implementation from the handle.

.0

Parameters
handle
Returns
implementation
Precondition
handle is initialized and points to a control

Definition at line 971 of file control-impl.cpp.

References Dali::CustomActor::GetImplementation().

Referenced by Dali::Toolkit::Internal::AccessibilityManager::AccessibilityActionDown(), Dali::Toolkit::Internal::AccessibilityManager::AccessibilityActionTouch(), Dali::Toolkit::Internal::AccessibilityManager::AccessibilityActionUp(), Dali::Toolkit::Internal::AccessibilityManager::AccessibilityActionZoom(), Dali::Toolkit::Internal::Popup::AddFocusableChildren(), Dali::Toolkit::Internal::Popup::AddFocusableChildrenRecursive(), Dali::Toolkit::Control::ClearBackground(), Dali::Toolkit::Control::ClearKeyInputFocus(), Dali::Toolkit::anonymous_namespace{control-impl.cpp}::DoAction(), Dali::Toolkit::Internal::Button::DoAction(), Dali::Toolkit::Internal::AccessibilityManager::DoActivate(), Dali::Toolkit::anonymous_namespace{control-impl.cpp}::DoConnectSignal(), Dali::Toolkit::Internal::KeyboardFocusManager::DoKeyboardEnter(), Dali::Toolkit::Internal::KeyboardFocusManager::DoMoveFocusWithinLayoutControl(), Dali::Toolkit::Internal::ImageView::EnablePreMultipliedAlpha(), Dali::Toolkit::Control::GetBackgroundColor(), Dali::Toolkit::Control::GetLongPressGestureDetector(), Dali::Toolkit::Control::GetPanGestureDetector(), Dali::Toolkit::Control::GetPinchGestureDetector(), Dali::Toolkit::Internal::PushButton::GetProperty(), Dali::Toolkit::Internal::Button::GetProperty(), Dali::Toolkit::Control::GetStyleName(), Dali::Toolkit::Control::GetTapGestureDetector(), Dali::Toolkit::Internal::AccessibilityManager::HandlePanGesture(), Dali::Toolkit::Control::HasKeyInputFocus(), Dali::Toolkit::Internal::KeyboardFocusManager::IsLayoutControl(), Dali::Toolkit::Control::KeyEventSignal(), Dali::Toolkit::Control::KeyInputFocusGainedSignal(), Dali::Toolkit::Control::KeyInputFocusLostSignal(), Dali::Toolkit::Internal::KeyInputFocusManager::OnKeyEvent(), Dali::Toolkit::Internal::KeyInputFocusManager::RemoveFocus(), Dali::Toolkit::Internal::RendererFactory::ResetRenderer(), Dali::Toolkit::Control::SetBackgroundColor(), Dali::Toolkit::Control::SetBackgroundImage(), Dali::Toolkit::Internal::KeyInputFocusManager::SetFocus(), Dali::Toolkit::Control::SetKeyInputFocus(), Dali::Toolkit::Internal::PushButton::SetProperty(), Dali::Toolkit::Internal::Button::SetProperty(), Dali::Toolkit::Control::SetStyleName(), UtcDaliControlGetImplementationConstN(), UtcDaliControlGetImplementationConstP(), UtcDaliControlGetImplementationN(), UtcDaliControlGetImplementationP(), UtcDaliControlImplGetControlExtensionP(), UtcDaliControlImplGetNextKeyboardFocusableActorP(), UtcDaliControlImplOnAccessibilityActivatedP(), UtcDaliControlImplOnAccessibilityPanP(), UtcDaliControlImplOnAccessibilityTouchP(), UtcDaliControlImplOnStyleChangeN(), UtcDaliControlSignalAutomaticDisconnect(), UtcDaliControlSignalConnectDisconnect(), and UtcDaliTableViewKeyboardFocus().

Here is the call graph for this function:

DALI_IMPORT_API const Internal::Control & Dali::Toolkit::Internal::GetImplementation ( const Dali::Toolkit::Control handle)

Get implementation from the handle.

.0

Parameters
handle
Returns
implementation
Precondition
handle is initialized and points to a control

Definition at line 979 of file control-impl.cpp.

References Dali::CustomActor::GetImplementation().

Here is the call graph for this function:

void Dali::Toolkit::Internal::LookAt ( Matrix result,
const Vector3 eye,
const Vector3 target,
const Vector3 up 
)

Definition at line 281 of file model3d-view-impl.cpp.

References Dali::Vector3::Cross(), Dali::Vector3::Normalize(), and Dali::Matrix::SetInverseTransformComponents().

Here is the call graph for this function:

void Dali::Toolkit::Internal::PageTurnApplyInternalConstraint ( ShaderEffect shaderEffect)

Re-applies PageTurnEffect internal constraints The internal constraint uses the OriginalCenter property and the CurrentCenter Property to update the variety of common parameters which are with the same value for all the vertices.

Note: For each actor, the constraints are applied in the same order as the calls to Actor::ApplyConstraint(). So if there are other contraints applied to the OriginalCenter or CurrentCenter while when using this effect, call this method to get the internal constraints and re-apply it afterwards.

Parameters
[in]shaderEffectThe page turn effect to which internal constraints should be re-applied

Definition at line 90 of file page-turn-effect.cpp.

References Dali::Constraint::AddSource(), Dali::Constraint::Apply(), CommonParametersConstraint(), and Dali::Handle::GetPropertyIndex().

Referenced by CreatePageTurnEffect(), Dali::Toolkit::Internal::PageTurnPortraitView::OnPossibleOutwardsFlick(), and Dali::Toolkit::Internal::PageTurnView::PanContinuing().

Here is the call graph for this function:

Here is the caller graph for this function:

Actor Dali::Toolkit::Internal::SetupActor ( const TreeNode child,
Actor &  actor,
const Replacement &  constant 
)
Actor Dali::Toolkit::Internal::SetupPropertyNotification ( ConnectionTracker tracker,
const TreeNode root,
const TreeNode child,
Actor  actor,
Dali::Toolkit::Internal::Builder *const  builder 
)
Actor Dali::Toolkit::Internal::SetupPropertyNotification ( const TreeNode child,
Actor  actor,
Dali::Toolkit::Internal::Builder *const  builder 
)
Actor Dali::Toolkit::Internal::SetupSignalAction ( ConnectionTracker tracker,
const TreeNode root,
const TreeNode child,
Actor  actor,
Dali::Toolkit::Internal::Builder *const  builder 
)

Setup signals and actions on an actor.

Definition at line 702 of file builder-signals.cpp.

References Dali::Toolkit::TreeNode::CBegin(), Dali::Toolkit::TreeNode::CEnd(), DALI_ASSERT_ALWAYS, DALI_SCRIPT_INFO, Dali::Actor::GetName(), IsChild(), IsString(), and anonymous_namespace{builder-signals.cpp}::SetActionOnSignal().

Referenced by Dali::Toolkit::Internal::Builder::ApplyProperties().

Here is the call graph for this function:

Here is the caller graph for this function:

Actor Dali::Toolkit::Internal::SetupSignalAction ( const TreeNode child,
Actor  actor,
Dali::Toolkit::Internal::Builder *const  builder 
)

Variable Documentation

const FeedbackStyleInfo Dali::Toolkit::Internal::DEFAULT_FEEDBACK_STYLE_INFO
static
Dali Docs Home
Read more about Dali