Dali 3D User Interface Engine
Functions | Variables
Dali::Internal::anonymous_namespace{actor-impl.cpp} Namespace Reference

Functions

const Vector3GetDefaultSizeModeFactor ()
 Using a function because of library initialisation order. Vector3::ONE may not have been initialised yet. More...
 
const Vector2GetDefaultPreferredSize ()
 Using a function because of library initialisation order. Vector2::ZERO may not have been initialised yet. More...
 
const Vector2GetDefaultDimensionPadding ()
 Using a function because of library initialisation order. Vector2::ZERO may not have been initialised yet. More...
 
BaseHandle CreateActor ()
 
float GetDimensionValue (const Vector2 &values, Dimension::Type dimension)
 Extract a given dimension from a Vector2. More...
 
float GetDimensionValue (const Vector3 &values, Dimension::Type dimension)
 Extract a given dimension from a Vector3. More...
 

Variables

const SizeScalePolicy::Type DEFAULT_SIZE_SCALE_POLICY = SizeScalePolicy::USE_SIZE_SET
 
DALI_PROPERTY_TABLE_BEGIN
const char *const 
SIGNAL_TOUCHED = "touched"
 We want to discourage the use of property strings (minimize string comparisons), particularly for the default properties. More...
 
const char *const SIGNAL_HOVERED = "hovered"
 
const char *const SIGNAL_WHEEL_EVENT = "wheelEvent"
 
const char *const SIGNAL_ON_STAGE = "onStage"
 
const char *const SIGNAL_OFF_STAGE = "offStage"
 
const char *const SIGNAL_ON_RELAYOUT = "onRelayout"
 
const char *const ACTION_SHOW = "show"
 
const char *const ACTION_HIDE = "hide"
 
TypeRegistration mType (typeid(Dali::Actor), typeid(Dali::Handle), CreateActor)
 
SignalConnectorType signalConnector1 (mType, SIGNAL_TOUCHED,&Actor::DoConnectSignal)
 
SignalConnectorType signalConnector2 (mType, SIGNAL_HOVERED,&Actor::DoConnectSignal)
 
SignalConnectorType signalConnector3 (mType, SIGNAL_WHEEL_EVENT,&Actor::DoConnectSignal)
 
SignalConnectorType signalConnector4 (mType, SIGNAL_ON_STAGE,&Actor::DoConnectSignal)
 
SignalConnectorType signalConnector5 (mType, SIGNAL_OFF_STAGE,&Actor::DoConnectSignal)
 
SignalConnectorType signalConnector6 (mType, SIGNAL_ON_RELAYOUT,&Actor::DoConnectSignal)
 
TypeAction a1 (mType, ACTION_SHOW,&Actor::DoAction)
 
TypeAction a2 (mType, ACTION_HIDE,&Actor::DoAction)
 

Function Documentation

BaseHandle Dali::Internal::anonymous_namespace{actor-impl.cpp}::CreateActor ( )

Definition at line 248 of file actor-impl.cpp.

References Dali::Actor::New().

Here is the call graph for this function:

const Vector2& Dali::Internal::anonymous_namespace{actor-impl.cpp}::GetDefaultDimensionPadding ( )
inline

Using a function because of library initialisation order. Vector2::ZERO may not have been initialised yet.

Definition at line 114 of file actor-impl.cpp.

References Dali::Vector2::ZERO.

Referenced by Dali::Internal::Actor::GetPadding(), and Dali::Internal::Actor::RelayoutData::RelayoutData().

Here is the caller graph for this function:

const Vector2& Dali::Internal::anonymous_namespace{actor-impl.cpp}::GetDefaultPreferredSize ( )
inline

Using a function because of library initialisation order. Vector2::ZERO may not have been initialised yet.

Definition at line 108 of file actor-impl.cpp.

References Dali::Vector2::ZERO.

Referenced by Dali::Internal::Actor::GetPreferredSize().

Here is the caller graph for this function:

const Vector3& Dali::Internal::anonymous_namespace{actor-impl.cpp}::GetDefaultSizeModeFactor ( )
inline

Using a function because of library initialisation order. Vector3::ONE may not have been initialised yet.

Definition at line 102 of file actor-impl.cpp.

References Dali::Vector3::ONE.

Referenced by Dali::Internal::Actor::GetSizeModeFactor().

Here is the caller graph for this function:

float Dali::Internal::anonymous_namespace{actor-impl.cpp}::GetDimensionValue ( const Vector2 &  values,
Dimension::Type  dimension 
)

Extract a given dimension from a Vector2.

Parameters
[in]valuesThe values to extract from
[in]dimensionThe dimension to extract
Returns
Return the value for the dimension

Definition at line 272 of file actor-impl.cpp.

References Dali::Dimension::HEIGHT, Dali::Vector2::height, Dali::Dimension::WIDTH, and Dali::Vector2::width.

Referenced by Dali::Internal::Actor::CalculateChildSizeBase(), Dali::Internal::Actor::CalculateSize(), GetDimensionValue(), Dali::Internal::Actor::GetNaturalSize(), Dali::Internal::Actor::GetSize(), and Dali::Internal::Actor::NegotiateFromChildren().

Here is the caller graph for this function:

float Dali::Internal::anonymous_namespace{actor-impl.cpp}::GetDimensionValue ( const Vector3 &  values,
Dimension::Type  dimension 
)

Extract a given dimension from a Vector3.

Parameters
[in]valuesThe values to extract from
[in]dimensionThe dimension to extract
Returns
Return the value for the dimension

Definition at line 299 of file actor-impl.cpp.

References GetDimensionValue(), and Dali::Vector3::GetVectorXY().

Here is the call graph for this function:

Variable Documentation

TypeAction Dali::Internal::anonymous_namespace{actor-impl.cpp}::a1(mType, ACTION_SHOW,&Actor::DoAction)
TypeAction Dali::Internal::anonymous_namespace{actor-impl.cpp}::a2(mType, ACTION_HIDE,&Actor::DoAction)
const char* const Dali::Internal::anonymous_namespace{actor-impl.cpp}::ACTION_HIDE = "hide"

Definition at line 246 of file actor-impl.cpp.

Referenced by Dali::Internal::Actor::DoAction().

const char* const Dali::Internal::anonymous_namespace{actor-impl.cpp}::ACTION_SHOW = "show"

Definition at line 245 of file actor-impl.cpp.

Referenced by Dali::Internal::Actor::DoAction().

const SizeScalePolicy::Type Dali::Internal::anonymous_namespace{actor-impl.cpp}::DEFAULT_SIZE_SCALE_POLICY = SizeScalePolicy::USE_SIZE_SET

Definition at line 119 of file actor-impl.cpp.

Referenced by Dali::Internal::Actor::GetSizeScalePolicy().

TypeRegistration Dali::Internal::anonymous_namespace{actor-impl.cpp}::mType(typeid(Dali::Actor), typeid(Dali::Handle), CreateActor)
const char* const Dali::Internal::anonymous_namespace{actor-impl.cpp}::SIGNAL_HOVERED = "hovered"

Definition at line 237 of file actor-impl.cpp.

Referenced by Dali::Internal::Actor::DoConnectSignal().

const char* const Dali::Internal::anonymous_namespace{actor-impl.cpp}::SIGNAL_OFF_STAGE = "offStage"

Definition at line 240 of file actor-impl.cpp.

Referenced by Dali::Internal::Actor::DoConnectSignal().

const char* const Dali::Internal::anonymous_namespace{actor-impl.cpp}::SIGNAL_ON_RELAYOUT = "onRelayout"

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

Referenced by Dali::Internal::Actor::DoConnectSignal().

const char* const Dali::Internal::anonymous_namespace{actor-impl.cpp}::SIGNAL_ON_STAGE = "onStage"

Definition at line 239 of file actor-impl.cpp.

Referenced by Dali::Internal::Actor::DoConnectSignal().

DALI_PROPERTY_TABLE_BEGIN const char* const Dali::Internal::anonymous_namespace{actor-impl.cpp}::SIGNAL_TOUCHED = "touched"

We want to discourage the use of property strings (minimize string comparisons), particularly for the default properties.

Name Type writable animatable constraint-input enum for index-checking

Definition at line 236 of file actor-impl.cpp.

Referenced by Dali::Internal::Stage::DoConnectSignal(), and Dali::Internal::Actor::DoConnectSignal().

const char* const Dali::Internal::anonymous_namespace{actor-impl.cpp}::SIGNAL_WHEEL_EVENT = "wheelEvent"
SignalConnectorType Dali::Internal::anonymous_namespace{actor-impl.cpp}::signalConnector1(mType, SIGNAL_TOUCHED,&Actor::DoConnectSignal)
SignalConnectorType Dali::Internal::anonymous_namespace{actor-impl.cpp}::signalConnector2(mType, SIGNAL_HOVERED,&Actor::DoConnectSignal)
SignalConnectorType Dali::Internal::anonymous_namespace{actor-impl.cpp}::signalConnector3(mType, SIGNAL_WHEEL_EVENT,&Actor::DoConnectSignal)
SignalConnectorType Dali::Internal::anonymous_namespace{actor-impl.cpp}::signalConnector4(mType, SIGNAL_ON_STAGE,&Actor::DoConnectSignal)
SignalConnectorType Dali::Internal::anonymous_namespace{actor-impl.cpp}::signalConnector5(mType, SIGNAL_OFF_STAGE,&Actor::DoConnectSignal)
SignalConnectorType Dali::Internal::anonymous_namespace{actor-impl.cpp}::signalConnector6(mType, SIGNAL_ON_RELAYOUT,&Actor::DoConnectSignal)
Dali Docs Home
Read more about Dali