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

Functions

const float ANIMATION_TIME (0.2f)
 
BaseHandle Create ()
 
void SizeOfActorIfLarger (Actor root, Vector3 &size)
 Get size of Actor if larger than given size. More...
 

Variables

const Padding DEFAULT_LABEL_PADDING (12.0f, 12.0f, 12.0f, 12.0f)
 
const Padding DEFAULT_ICON_PADDING (12.0f, 12.0f, 12.0f, 12.0f)
 
const Dali::Scripting::StringEnum IconAlignmentTable []
 
const unsigned int IconAlignmentTableCount = sizeof( IconAlignmentTable ) / sizeof( IconAlignmentTable[0] )
 
const char *const UNSELECTED_BUTTON_IMAGE_DIR = DALI_IMAGE_DIR "button-up.9.png"
 
const char *const SELECTED_BUTTON_IMAGE_DIR = DALI_IMAGE_DIR "button-down.9.png"
 
const char *const DISABLED_UNSELECTED_BUTTON_IMAGE_DIR = DALI_IMAGE_DIR "button-disabled.9.png"
 
const char *const DISABLED_SELECTED_BUTTON_IMAGE_DIR = DALI_IMAGE_DIR "button-down-disabled.9.png"
 

Function Documentation

const float Dali::Toolkit::Internal::anonymous_namespace{push-button-impl.cpp}::ANIMATION_TIME ( 0.  2f)
BaseHandle Dali::Toolkit::Internal::anonymous_namespace{push-button-impl.cpp}::Create ( )

Definition at line 48 of file push-button-impl.cpp.

References Dali::Toolkit::PushButton::New().

Here is the call graph for this function:

void Dali::Toolkit::Internal::anonymous_namespace{push-button-impl.cpp}::SizeOfActorIfLarger ( Actor  root,
Vector3 &  size 
)

Get size of Actor if larger than given size.

Parameters
[in]rootthe actor to get the size of
[out]sizethe greater of the given size or the size of the Actor

Definition at line 90 of file push-button-impl.cpp.

References Dali::Actor::GetRelayoutSize(), Dali::Dimension::HEIGHT, Dali::Vector3::height, Dali::Dimension::WIDTH, and Dali::Vector3::width.

Referenced by Dali::Toolkit::Internal::PushButton::GetNaturalSize().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const Padding Dali::Toolkit::Internal::anonymous_namespace{push-button-impl.cpp}::DEFAULT_ICON_PADDING(12.0f, 12.0f, 12.0f, 12.0f)
const Padding Dali::Toolkit::Internal::anonymous_namespace{push-button-impl.cpp}::DEFAULT_LABEL_PADDING(12.0f, 12.0f, 12.0f, 12.0f)
const char* const Dali::Toolkit::Internal::anonymous_namespace{push-button-impl.cpp}::DISABLED_SELECTED_BUTTON_IMAGE_DIR = DALI_IMAGE_DIR "button-down-disabled.9.png"

Definition at line 78 of file push-button-impl.cpp.

const char* const Dali::Toolkit::Internal::anonymous_namespace{push-button-impl.cpp}::DISABLED_UNSELECTED_BUTTON_IMAGE_DIR = DALI_IMAGE_DIR "button-disabled.9.png"

Definition at line 77 of file push-button-impl.cpp.

const Dali::Scripting::StringEnum Dali::Toolkit::Internal::anonymous_namespace{push-button-impl.cpp}::IconAlignmentTable[]
const unsigned int Dali::Toolkit::Internal::anonymous_namespace{push-button-impl.cpp}::IconAlignmentTableCount = sizeof( IconAlignmentTable ) / sizeof( IconAlignmentTable[0] )
const char* const Dali::Toolkit::Internal::anonymous_namespace{push-button-impl.cpp}::SELECTED_BUTTON_IMAGE_DIR = DALI_IMAGE_DIR "button-down.9.png"

Definition at line 76 of file push-button-impl.cpp.

const char* const Dali::Toolkit::Internal::anonymous_namespace{push-button-impl.cpp}::UNSELECTED_BUTTON_IMAGE_DIR = DALI_IMAGE_DIR "button-up.9.png"

Definition at line 75 of file push-button-impl.cpp.

Dali Docs Home
Read more about Dali