Dali 3D User Interface Engine
List of all members | Public Member Functions | Public Attributes
Dali::Internal::Actor::RelayoutData Struct Reference

Struct to collect relayout variables. More...

Collaboration diagram for Dali::Internal::Actor::RelayoutData:
Collaboration graph
[legend]

Public Member Functions

 RelayoutData ()
 

Public Attributes

ResizePolicy::Type resizePolicies [Dimension::DIMENSION_COUNT]
 Resize policies. More...
 
Dimension::Type dimensionDependencies [Dimension::DIMENSION_COUNT]
 A list of dimension dependencies. More...
 
Vector2 dimensionPadding [Dimension::DIMENSION_COUNT]
 Padding for each dimension. X = start (e.g. left, bottom), y = end (e.g. right, top) More...
 
float negotiatedDimensions [Dimension::DIMENSION_COUNT]
 Storage for when a dimension is negotiated but before set on actor. More...
 
float minimumSize [Dimension::DIMENSION_COUNT]
 The minimum size an actor can be. More...
 
float maximumSize [Dimension::DIMENSION_COUNT]
 The maximum size an actor can be. More...
 
bool dimensionNegotiated [Dimension::DIMENSION_COUNT]
 Has the dimension been negotiated. More...
 
bool dimensionDirty [Dimension::DIMENSION_COUNT]
 Flags indicating whether the layout dimension is dirty or not. More...
 
Vector3 sizeModeFactor
 Factor of size used for certain SizeModes. More...
 
Vector2 preferredSize
 The preferred size of the actor. More...
 
SizeScalePolicy::Type sizeSetPolicy:3
 Policy to apply when setting size. Enough room for the enum. More...
 
bool relayoutEnabled:1
 Flag to specify if this actor should be included in size negotiation or not (defaults to true) More...
 
bool insideRelayout:1
 Locking flag to prevent recursive relayouts on size set. More...
 

Detailed Description

Struct to collect relayout variables.

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

Constructor & Destructor Documentation

Dali::Internal::Actor::RelayoutData::RelayoutData ( )
inline

Member Data Documentation

Dimension::Type Dali::Internal::Actor::RelayoutData::dimensionDependencies[Dimension::DIMENSION_COUNT]
bool Dali::Internal::Actor::RelayoutData::dimensionDirty[Dimension::DIMENSION_COUNT]

Flags indicating whether the layout dimension is dirty or not.

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

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

bool Dali::Internal::Actor::RelayoutData::dimensionNegotiated[Dimension::DIMENSION_COUNT]

Has the dimension been negotiated.

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

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

Vector2 Dali::Internal::Actor::RelayoutData::dimensionPadding[Dimension::DIMENSION_COUNT]

Padding for each dimension. X = start (e.g. left, bottom), y = end (e.g. right, top)

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

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

bool Dali::Internal::Actor::RelayoutData::insideRelayout

Locking flag to prevent recursive relayouts on size set.

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

Referenced by Dali::Internal::Actor::SetNegotiatedSize(), Dali::Internal::Actor::SetSize(), and Dali::Internal::Actor::SetSizeInternal().

float Dali::Internal::Actor::RelayoutData::maximumSize[Dimension::DIMENSION_COUNT]

The maximum size an actor can be.

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

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

float Dali::Internal::Actor::RelayoutData::minimumSize[Dimension::DIMENSION_COUNT]

The minimum size an actor can be.

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

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

float Dali::Internal::Actor::RelayoutData::negotiatedDimensions[Dimension::DIMENSION_COUNT]

Storage for when a dimension is negotiated but before set on actor.

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

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

Vector2 Dali::Internal::Actor::RelayoutData::preferredSize

The preferred size of the actor.

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

Referenced by Dali::Internal::Actor::GetPreferredSize(), and Dali::Internal::Actor::SetPreferredSize().

bool Dali::Internal::Actor::RelayoutData::relayoutEnabled

Flag to specify if this actor should be included in size negotiation or not (defaults to true)

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

Referenced by Dali::Internal::Actor::IsRelayoutEnabled(), Dali::Internal::Actor::RelayoutPossible(), Dali::Internal::Actor::RelayoutRequired(), and Dali::Internal::Actor::SetRelayoutEnabled().

ResizePolicy::Type Dali::Internal::Actor::RelayoutData::resizePolicies[Dimension::DIMENSION_COUNT]
Vector3 Dali::Internal::Actor::RelayoutData::sizeModeFactor

Factor of size used for certain SizeModes.

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

Referenced by Dali::Internal::Actor::GetSizeModeFactor(), and Dali::Internal::Actor::SetSizeModeFactor().

SizeScalePolicy::Type Dali::Internal::Actor::RelayoutData::sizeSetPolicy

Policy to apply when setting size. Enough room for the enum.

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

Referenced by Dali::Internal::Actor::ApplySizeSetPolicy(), Dali::Internal::Actor::GetSizeScalePolicy(), and Dali::Internal::Actor::SetSizeScalePolicy().


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