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

Functions

BaseHandle Create ()
 Creates control through type registry. More...
 
static bool DoAction (BaseObject *object, const std::string &actionName, const Property::Map &attributes)
 
static bool DoConnectSignal (BaseObject *object, ConnectionTrackerInterface *tracker, const std::string &signalName, FunctorDelegate *functor)
 
 DALI_TYPE_REGISTRATION_BEGIN (Control, CustomActor, Create)
 
SignalConnectorType registerSignal1 (typeRegistration, SIGNAL_KEY_EVENT,&DoConnectSignal)
 
SignalConnectorType registerSignal2 (typeRegistration, SIGNAL_KEY_INPUT_FOCUS_GAINED,&DoConnectSignal)
 
SignalConnectorType registerSignal3 (typeRegistration, SIGNAL_KEY_INPUT_FOCUS_LOST,&DoConnectSignal)
 
SignalConnectorType registerSignal4 (typeRegistration, SIGNAL_TAPPED,&DoConnectSignal)
 
SignalConnectorType registerSignal5 (typeRegistration, SIGNAL_PANNED,&DoConnectSignal)
 
SignalConnectorType registerSignal6 (typeRegistration, SIGNAL_PINCHED,&DoConnectSignal)
 
SignalConnectorType registerSignal7 (typeRegistration, SIGNAL_LONG_PRESSED,&DoConnectSignal)
 
TypeAction registerAction (typeRegistration, ACTION_ACCESSIBILITY_ACTIVATED,&DoAction)
 
const char *const BACKGROUND_COLOR_NAME ("color")
 
const char *const COLOR_RENDERER_COLOR_NAME ("blendColor")
 

Variables

const char * ACTION_ACCESSIBILITY_ACTIVATED = "accessibilityActivated"
 Performs actions as requested using the action name. More...
 
const char * SIGNAL_KEY_EVENT = "keyEvent"
 Connects a callback function with the object's signals. More...
 
const char * SIGNAL_KEY_INPUT_FOCUS_GAINED = "keyInputFocusGained"
 
const char * SIGNAL_KEY_INPUT_FOCUS_LOST = "keyInputFocusLost"
 
const char * SIGNAL_TAPPED = "tapped"
 
const char * SIGNAL_PANNED = "panned"
 
const char * SIGNAL_PINCHED = "pinched"
 
const char * SIGNAL_LONG_PRESSED = "longPressed"
 

Function Documentation

const char* const Dali::Toolkit::anonymous_namespace{control-impl.cpp}::BACKGROUND_COLOR_NAME ( "color"  )

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

Here is the caller graph for this function:

const char* const Dali::Toolkit::anonymous_namespace{control-impl.cpp}::COLOR_RENDERER_COLOR_NAME ( "blendColor"  )

Referenced by Dali::Toolkit::Internal::Control::GetBackgroundColor().

Here is the caller graph for this function:

BaseHandle Dali::Toolkit::anonymous_namespace{control-impl.cpp}::Create ( )

Creates control through type registry.

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

References Dali::Toolkit::Internal::Control::New().

Here is the call graph for this function:

Dali::Toolkit::anonymous_namespace{control-impl.cpp}::DALI_TYPE_REGISTRATION_BEGIN ( Control  ,
CustomActor  ,
Create   
)
static bool Dali::Toolkit::anonymous_namespace{control-impl.cpp}::DoAction ( BaseObject *  object,
const std::string &  actionName,
const Property::Map &  attributes 
)
static

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

References ACTION_ACCESSIBILITY_ACTIVATED, Dali::Toolkit::Control::DownCast(), and Dali::Toolkit::Internal::GetImplementation().

Here is the call graph for this function:

static bool Dali::Toolkit::anonymous_namespace{control-impl.cpp}::DoConnectSignal ( BaseObject *  object,
ConnectionTrackerInterface *  tracker,
const std::string &  signalName,
FunctorDelegate *  functor 
)
static
TypeAction Dali::Toolkit::anonymous_namespace{control-impl.cpp}::registerAction ( typeRegistration  ,
ACTION_ACCESSIBILITY_ACTIVATED  ,
DoAction 
)
SignalConnectorType Dali::Toolkit::anonymous_namespace{control-impl.cpp}::registerSignal1 ( typeRegistration  ,
SIGNAL_KEY_EVENT  ,
DoConnectSignal 
)
SignalConnectorType Dali::Toolkit::anonymous_namespace{control-impl.cpp}::registerSignal2 ( typeRegistration  ,
SIGNAL_KEY_INPUT_FOCUS_GAINED  ,
DoConnectSignal 
)
SignalConnectorType Dali::Toolkit::anonymous_namespace{control-impl.cpp}::registerSignal3 ( typeRegistration  ,
SIGNAL_KEY_INPUT_FOCUS_LOST  ,
DoConnectSignal 
)
SignalConnectorType Dali::Toolkit::anonymous_namespace{control-impl.cpp}::registerSignal4 ( typeRegistration  ,
SIGNAL_TAPPED  ,
DoConnectSignal 
)
SignalConnectorType Dali::Toolkit::anonymous_namespace{control-impl.cpp}::registerSignal5 ( typeRegistration  ,
SIGNAL_PANNED  ,
DoConnectSignal 
)
SignalConnectorType Dali::Toolkit::anonymous_namespace{control-impl.cpp}::registerSignal6 ( typeRegistration  ,
SIGNAL_PINCHED  ,
DoConnectSignal 
)
SignalConnectorType Dali::Toolkit::anonymous_namespace{control-impl.cpp}::registerSignal7 ( typeRegistration  ,
SIGNAL_LONG_PRESSED  ,
DoConnectSignal 
)

Variable Documentation

const char* Dali::Toolkit::anonymous_namespace{control-impl.cpp}::ACTION_ACCESSIBILITY_ACTIVATED = "accessibilityActivated"

Performs actions as requested using the action name.

Parameters
[in]objectThe object on which to perform the action.
[in]actionNameThe action to perform.
[in]attributesThe attributes with which to perfrom this action.
Returns
true if action has been accepted by this control

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

Referenced by DoAction().

const char* Dali::Toolkit::anonymous_namespace{control-impl.cpp}::SIGNAL_KEY_EVENT = "keyEvent"

Connects a callback function with the object's signals.

Parameters
[in]objectThe object providing the signal.
[in]trackerUsed to disconnect the signal.
[in]signalNameThe signal to connect to.
[in]functorA newly allocated FunctorDelegate.
Returns
True if the signal was connected.
Postcondition
If a signal was connected, ownership of functor was passed to CallbackBase. Otherwise the caller is responsible for deleting the unused functor.

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

const char* Dali::Toolkit::anonymous_namespace{control-impl.cpp}::SIGNAL_KEY_INPUT_FOCUS_GAINED = "keyInputFocusGained"

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

Referenced by DoConnectSignal().

const char* Dali::Toolkit::anonymous_namespace{control-impl.cpp}::SIGNAL_KEY_INPUT_FOCUS_LOST = "keyInputFocusLost"

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

Referenced by DoConnectSignal().

const char* Dali::Toolkit::anonymous_namespace{control-impl.cpp}::SIGNAL_LONG_PRESSED = "longPressed"

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

Referenced by DoConnectSignal().

const char* Dali::Toolkit::anonymous_namespace{control-impl.cpp}::SIGNAL_PANNED = "panned"

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

Referenced by DoConnectSignal().

const char* Dali::Toolkit::anonymous_namespace{control-impl.cpp}::SIGNAL_PINCHED = "pinched"

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

Referenced by DoConnectSignal().

const char* Dali::Toolkit::anonymous_namespace{control-impl.cpp}::SIGNAL_TAPPED = "tapped"

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

Referenced by DoConnectSignal().

Dali Docs Home
Read more about Dali