Dali 3D User Interface Engine
Functions | Variables
anonymous_namespace{utc-Dali-Scripting.cpp} Namespace Reference

Functions

template<typename T , typename X >
void TestEnumStrings (Property::Map &map, const char *const keyName, const StringEnum *values, unsigned int num, T(X::*method)() const, X(*creator)(const Property::Value &))
 Template to check enumerations of type T, with a class of type X. More...
 
ResourceImage NewResourceImage (const Property::Value &map)
 Helper method to create ResourceImage using property. More...
 
BufferImage NewBufferImage (const Property::Value &map)
 Helper method to create ResourceImage using property. More...
 
template<typename T >
void TestEnumStrings (const char *const keyName, TestApplication &application, const StringEnum *values, unsigned int num, void(Actor::*method)(T))
 Template to check enumerations of type T. More...
 

Variables

const StringEnum COLOR_MODE_VALUES []
 
const unsigned int COLOR_MODE_VALUES_COUNT = sizeof( COLOR_MODE_VALUES ) / sizeof( COLOR_MODE_VALUES[0] )
 
const StringEnum POSITION_INHERITANCE_MODE_VALUES []
 
const unsigned int POSITION_INHERITANCE_MODE_VALUES_COUNT = sizeof( POSITION_INHERITANCE_MODE_VALUES ) / sizeof( POSITION_INHERITANCE_MODE_VALUES[0] )
 
const StringEnum DRAW_MODE_VALUES []
 
const unsigned int DRAW_MODE_VALUES_COUNT = sizeof( DRAW_MODE_VALUES ) / sizeof( DRAW_MODE_VALUES[0] )
 

Function Documentation

BufferImage anonymous_namespace{utc-Dali-Scripting.cpp}::NewBufferImage ( const Property::Value &  map)

Helper method to create ResourceImage using property.

Definition at line 94 of file utc-Dali-Scripting.cpp.

References Dali::BufferImage::DownCast(), and Dali::Scripting::NewImage().

Referenced by UtcDaliScriptingNewImage08P().

Here is the call graph for this function:

Here is the caller graph for this function:

ResourceImage anonymous_namespace{utc-Dali-Scripting.cpp}::NewResourceImage ( const Property::Value &  map)

Helper method to create ResourceImage using property.

Definition at line 87 of file utc-Dali-Scripting.cpp.

References Dali::ResourceImage::DownCast(), and Dali::Scripting::NewImage().

Referenced by UtcDaliScriptingNewImage02P().

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename T , typename X >
void anonymous_namespace{utc-Dali-Scripting.cpp}::TestEnumStrings ( Property::Map &  map,
const char *const  keyName,
const StringEnum values,
unsigned int  num,
T(X::*)() const  method,
X(*)(const Property::Value &)  creator 
)

Template to check enumerations of type T, with a class of type X.

Definition at line 66 of file utc-Dali-Scripting.cpp.

References DALI_TEST_EQUALS(), Dali::Scripting::StringEnum::string, TEST_LOCATION, tet_printf(), and Dali::Property::Value().

Here is the call graph for this function:

template<typename T >
void anonymous_namespace{utc-Dali-Scripting.cpp}::TestEnumStrings ( const char *const  keyName,
TestApplication application,
const StringEnum values,
unsigned int  num,
void(Actor::*)(T)  method 
)

Variable Documentation

const StringEnum anonymous_namespace{utc-Dali-Scripting.cpp}::COLOR_MODE_VALUES[]
Initial value:
=
{
{ "USE_OWN_COLOR", USE_OWN_COLOR },
{ "USE_PARENT_COLOR", USE_PARENT_COLOR },
{ "USE_OWN_MULTIPLY_PARENT_COLOR", USE_OWN_MULTIPLY_PARENT_COLOR },
{ "USE_OWN_MULTIPLY_PARENT_ALPHA", USE_OWN_MULTIPLY_PARENT_ALPHA },
}

Definition at line 31 of file utc-Dali-Scripting.cpp.

Referenced by UtcDaliScriptingCreatePropertyMapActor().

const unsigned int anonymous_namespace{utc-Dali-Scripting.cpp}::COLOR_MODE_VALUES_COUNT = sizeof( COLOR_MODE_VALUES ) / sizeof( COLOR_MODE_VALUES[0] )
const StringEnum anonymous_namespace{utc-Dali-Scripting.cpp}::DRAW_MODE_VALUES[]
Initial value:
=
{
{ "NORMAL", DrawMode::NORMAL },
{ "OVERLAY_2D", DrawMode::OVERLAY_2D },
{ "STENCIL", DrawMode::STENCIL },
}

Definition at line 49 of file utc-Dali-Scripting.cpp.

Referenced by UtcDaliScriptingCreatePropertyMapActor().

const unsigned int anonymous_namespace{utc-Dali-Scripting.cpp}::DRAW_MODE_VALUES_COUNT = sizeof( DRAW_MODE_VALUES ) / sizeof( DRAW_MODE_VALUES[0] )
const StringEnum anonymous_namespace{utc-Dali-Scripting.cpp}::POSITION_INHERITANCE_MODE_VALUES[]
Initial value:
=
{
{ "INHERIT_PARENT_POSITION", INHERIT_PARENT_POSITION },
{ "USE_PARENT_POSITION", USE_PARENT_POSITION },
{ "USE_PARENT_POSITION_PLUS_LOCAL_POSITION", USE_PARENT_POSITION_PLUS_LOCAL_POSITION },
{ "DONT_INHERIT_POSITION", DONT_INHERIT_POSITION },
}

Definition at line 40 of file utc-Dali-Scripting.cpp.

Referenced by UtcDaliScriptingCreatePropertyMapActor().

const unsigned int anonymous_namespace{utc-Dali-Scripting.cpp}::POSITION_INHERITANCE_MODE_VALUES_COUNT = sizeof( POSITION_INHERITANCE_MODE_VALUES ) / sizeof( POSITION_INHERITANCE_MODE_VALUES[0] )
Dali Docs Home
Read more about Dali