Dali 3D User Interface Engine
Classes | Enumerations | Functions | Variables
Dali::Scripting::anonymous_namespace{scripting.cpp} Namespace Reference

Classes

struct  AnchorValue
 

Enumerations

enum  ImageType { RESOURCE_IMAGE, FRAME_BUFFER_IMAGE, BUFFER_IMAGE }
 

Functions

bool CompareEnums (const char *a, const char *b, size_t &size)
 

Variables

const AnchorValue ANCHOR_CONSTANT_TABLE []
 
const unsigned int ANCHOR_CONSTANT_TABLE_COUNT = sizeof( ANCHOR_CONSTANT_TABLE ) / sizeof( ANCHOR_CONSTANT_TABLE[0] )
 
const StringEnum COLOR_MODE_TABLE []
 
const unsigned int COLOR_MODE_TABLE_COUNT = sizeof( COLOR_MODE_TABLE ) / sizeof( COLOR_MODE_TABLE[0] )
 
const StringEnum POSITION_INHERITANCE_MODE_TABLE []
 
const unsigned int POSITION_INHERITANCE_MODE_TABLE_COUNT = sizeof( POSITION_INHERITANCE_MODE_TABLE ) / sizeof( POSITION_INHERITANCE_MODE_TABLE[0] )
 
const StringEnum DRAW_MODE_TABLE []
 
const unsigned int DRAW_MODE_TABLE_COUNT = sizeof( DRAW_MODE_TABLE ) / sizeof( DRAW_MODE_TABLE[0] )
 
const StringEnum IMAGE_LOAD_POLICY_TABLE []
 
const unsigned int IMAGE_LOAD_POLICY_TABLE_COUNT = sizeof( IMAGE_LOAD_POLICY_TABLE ) / sizeof( IMAGE_LOAD_POLICY_TABLE[0] )
 
const StringEnum IMAGE_RELEASE_POLICY_TABLE []
 
const unsigned int IMAGE_RELEASE_POLICY_TABLE_COUNT = sizeof( IMAGE_RELEASE_POLICY_TABLE ) / sizeof( IMAGE_RELEASE_POLICY_TABLE[0] )
 
const StringEnum PIXEL_FORMAT_TABLE []
 
const unsigned int PIXEL_FORMAT_TABLE_COUNT = sizeof( PIXEL_FORMAT_TABLE ) / sizeof( PIXEL_FORMAT_TABLE[0] )
 
const StringEnum IMAGE_FITTING_MODE_TABLE []
 
const unsigned int IMAGE_FITTING_MODE_TABLE_COUNT = sizeof( IMAGE_FITTING_MODE_TABLE ) / sizeof( IMAGE_FITTING_MODE_TABLE[0] )
 
const StringEnum IMAGE_SAMPLING_MODE_TABLE []
 
const unsigned int IMAGE_SAMPLING_MODE_TABLE_COUNT = sizeof( IMAGE_SAMPLING_MODE_TABLE ) / sizeof( IMAGE_SAMPLING_MODE_TABLE[0] )
 
const char * ImageTypeName [] = { "ResourceImage", "FrameBufferImage", "BufferImage" }
 
const unsigned int imageTypeCount = sizeof( ImageTypeName ) / sizeof( const char* )
 

Enumeration Type Documentation

enum Dali::Scripting::anonymous_namespace{scripting.cpp}::ImageType
Enumerator
RESOURCE_IMAGE 
FRAME_BUFFER_IMAGE 
BUFFER_IMAGE 

Definition at line 154 of file scripting.cpp.

Function Documentation

bool Dali::Scripting::anonymous_namespace{scripting.cpp}::CompareEnums ( const char *  a,
const char *  b,
size_t &  size 
)

Definition at line 157 of file scripting.cpp.

References a, and b.

Referenced by Dali::Scripting::EnumStringToInteger(), Dali::Scripting::FindEnumIndex(), and Dali::Scripting::GetAnchorConstant().

Here is the caller graph for this function:

Variable Documentation

const AnchorValue Dali::Scripting::anonymous_namespace{scripting.cpp}::ANCHOR_CONSTANT_TABLE[]
Initial value:
=
{
{ "TOP_LEFT", ParentOrigin::TOP_LEFT },
{ "TOP_CENTER", ParentOrigin::TOP_CENTER },
{ "TOP_RIGHT", ParentOrigin::TOP_RIGHT },
{ "CENTER_LEFT", ParentOrigin::CENTER_LEFT },
{ "CENTER", ParentOrigin::CENTER },
{ "CENTER_RIGHT", ParentOrigin::CENTER_RIGHT },
{ "BOTTOM_LEFT", ParentOrigin::BOTTOM_LEFT },
{ "BOTTOM_CENTER", ParentOrigin::BOTTOM_CENTER },
{ "BOTTOM_RIGHT", ParentOrigin::BOTTOM_RIGHT },
}

Definition at line 47 of file scripting.cpp.

const unsigned int Dali::Scripting::anonymous_namespace{scripting.cpp}::ANCHOR_CONSTANT_TABLE_COUNT = sizeof( ANCHOR_CONSTANT_TABLE ) / sizeof( ANCHOR_CONSTANT_TABLE[0] )

Definition at line 59 of file scripting.cpp.

Referenced by Dali::Scripting::GetAnchorConstant().

const StringEnum Dali::Scripting::anonymous_namespace{scripting.cpp}::COLOR_MODE_TABLE[]
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 61 of file scripting.cpp.

Referenced by Dali::Scripting::GetColorMode().

const unsigned int Dali::Scripting::anonymous_namespace{scripting.cpp}::COLOR_MODE_TABLE_COUNT = sizeof( COLOR_MODE_TABLE ) / sizeof( COLOR_MODE_TABLE[0] )

Definition at line 68 of file scripting.cpp.

Referenced by Dali::Scripting::GetColorMode().

const StringEnum Dali::Scripting::anonymous_namespace{scripting.cpp}::DRAW_MODE_TABLE[]
Initial value:
=
{
{ "NORMAL", DrawMode::NORMAL },
{ "OVERLAY_2D", DrawMode::OVERLAY_2D },
{ "STENCIL", DrawMode::STENCIL },
}

Definition at line 79 of file scripting.cpp.

Referenced by Dali::Scripting::GetDrawMode().

const unsigned int Dali::Scripting::anonymous_namespace{scripting.cpp}::DRAW_MODE_TABLE_COUNT = sizeof( DRAW_MODE_TABLE ) / sizeof( DRAW_MODE_TABLE[0] )

Definition at line 85 of file scripting.cpp.

Referenced by Dali::Scripting::GetDrawMode().

const StringEnum Dali::Scripting::anonymous_namespace{scripting.cpp}::IMAGE_FITTING_MODE_TABLE[]
Initial value:
=
{
{ "SHRINK_TO_FIT", FittingMode::SHRINK_TO_FIT },
{ "SCALE_TO_FILL", FittingMode::SCALE_TO_FILL },
{ "FIT_WIDTH", FittingMode::FIT_WIDTH },
{ "FIT_HEIGHT", FittingMode::FIT_HEIGHT },
}

Definition at line 132 of file scripting.cpp.

Referenced by Dali::Scripting::NewImage().

const unsigned int Dali::Scripting::anonymous_namespace{scripting.cpp}::IMAGE_FITTING_MODE_TABLE_COUNT = sizeof( IMAGE_FITTING_MODE_TABLE ) / sizeof( IMAGE_FITTING_MODE_TABLE[0] )

Definition at line 139 of file scripting.cpp.

Referenced by Dali::Scripting::NewImage().

const StringEnum Dali::Scripting::anonymous_namespace{scripting.cpp}::IMAGE_LOAD_POLICY_TABLE[]
Initial value:
=
{
{ "IMMEDIATE", ResourceImage::IMMEDIATE },
{ "ON_DEMAND", ResourceImage::ON_DEMAND },
}

Definition at line 87 of file scripting.cpp.

Referenced by Dali::Scripting::CreatePropertyMap(), and Dali::Scripting::NewImage().

const unsigned int Dali::Scripting::anonymous_namespace{scripting.cpp}::IMAGE_LOAD_POLICY_TABLE_COUNT = sizeof( IMAGE_LOAD_POLICY_TABLE ) / sizeof( IMAGE_LOAD_POLICY_TABLE[0] )

Definition at line 92 of file scripting.cpp.

Referenced by Dali::Scripting::CreatePropertyMap(), and Dali::Scripting::NewImage().

const StringEnum Dali::Scripting::anonymous_namespace{scripting.cpp}::IMAGE_RELEASE_POLICY_TABLE[]
Initial value:
=
{
{ "UNUSED", Image::UNUSED },
{ "NEVER", Image::NEVER },
}

Definition at line 94 of file scripting.cpp.

Referenced by Dali::Scripting::CreatePropertyMap(), and Dali::Scripting::NewImage().

const unsigned int Dali::Scripting::anonymous_namespace{scripting.cpp}::IMAGE_RELEASE_POLICY_TABLE_COUNT = sizeof( IMAGE_RELEASE_POLICY_TABLE ) / sizeof( IMAGE_RELEASE_POLICY_TABLE[0] )

Definition at line 99 of file scripting.cpp.

Referenced by Dali::Scripting::CreatePropertyMap(), and Dali::Scripting::NewImage().

const StringEnum Dali::Scripting::anonymous_namespace{scripting.cpp}::IMAGE_SAMPLING_MODE_TABLE[]
Initial value:
=
{
{ "BOX", SamplingMode::BOX },
{ "NEAREST", SamplingMode::NEAREST },
{ "LINEAR", SamplingMode::LINEAR },
{ "BOX_THEN_NEAREST", SamplingMode::BOX_THEN_NEAREST },
{ "BOX_THEN_LINEAR", SamplingMode::BOX_THEN_LINEAR },
{ "NO_FILTER", SamplingMode::NO_FILTER },
{ "DONT_CARE", SamplingMode::DONT_CARE },
}

Definition at line 141 of file scripting.cpp.

Referenced by Dali::Scripting::NewImage().

const unsigned int Dali::Scripting::anonymous_namespace{scripting.cpp}::IMAGE_SAMPLING_MODE_TABLE_COUNT = sizeof( IMAGE_SAMPLING_MODE_TABLE ) / sizeof( IMAGE_SAMPLING_MODE_TABLE[0] )

Definition at line 151 of file scripting.cpp.

Referenced by Dali::Scripting::NewImage().

const unsigned int Dali::Scripting::anonymous_namespace{scripting.cpp}::imageTypeCount = sizeof( ImageTypeName ) / sizeof( const char* )

Definition at line 155 of file scripting.cpp.

Referenced by Dali::Scripting::NewImage().

const char* Dali::Scripting::anonymous_namespace{scripting.cpp}::ImageTypeName[] = { "ResourceImage", "FrameBufferImage", "BufferImage" }

Definition at line 153 of file scripting.cpp.

const StringEnum Dali::Scripting::anonymous_namespace{scripting.cpp}::PIXEL_FORMAT_TABLE[]
Initial value:
=
{
{ "A8", Pixel::A8 },
{ "L8", Pixel::L8 },
{ "LA88", Pixel::LA88 },
{ "RGB565", Pixel::RGB565 },
{ "BGR565", Pixel::BGR565 },
{ "RGBA4444", Pixel::RGBA4444 },
{ "BGRA4444", Pixel::BGRA4444 },
{ "RGBA5551", Pixel::RGBA5551 },
{ "BGRA5551", Pixel::BGRA5551 },
{ "RGB888", Pixel::RGB888 },
{ "RGB8888", Pixel::RGB8888 },
{ "BGR8888", Pixel::BGR8888 },
{ "RGBA8888", Pixel::RGBA8888 },
{ "BGRA8888", Pixel::BGRA8888 },
{ "COMPRESSED_R11_EAC", Pixel::COMPRESSED_R11_EAC },
{ "COMPRESSED_SIGNED_R11_EAC", Pixel::COMPRESSED_SIGNED_R11_EAC },
{ "COMPRESSED_SIGNED_RG11_EAC", Pixel::COMPRESSED_SIGNED_RG11_EAC },
{ "COMPRESSED_RG11_EAC", Pixel::COMPRESSED_RG11_EAC },
{ "COMPRESSED_RGB8_ETC2", Pixel::COMPRESSED_RGB8_ETC2 },
{ "COMPRESSED_SRGB8_ETC2", Pixel::COMPRESSED_SRGB8_ETC2 },
{ "COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2", Pixel::COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 },
{ "COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2", Pixel::COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 },
{ "COMPRESSED_RGBA8_ETC2_EAC", Pixel::COMPRESSED_RGBA8_ETC2_EAC },
{ "COMPRESSED_SRGB8_ALPHA8_ETC2_EAC", Pixel::COMPRESSED_SRGB8_ALPHA8_ETC2_EAC },
{ "COMPRESSED_RGB8_ETC1", Pixel::COMPRESSED_RGB8_ETC1 },
{ "COMPRESSED_RGB_PVRTC_4BPPV1", Pixel::COMPRESSED_RGB_PVRTC_4BPPV1 },
}

Definition at line 101 of file scripting.cpp.

Referenced by Dali::Scripting::CreatePropertyMap(), and Dali::Scripting::NewImage().

const unsigned int Dali::Scripting::anonymous_namespace{scripting.cpp}::PIXEL_FORMAT_TABLE_COUNT = sizeof( PIXEL_FORMAT_TABLE ) / sizeof( PIXEL_FORMAT_TABLE[0] )

Definition at line 130 of file scripting.cpp.

Referenced by Dali::Scripting::CreatePropertyMap(), and Dali::Scripting::NewImage().

const StringEnum Dali::Scripting::anonymous_namespace{scripting.cpp}::POSITION_INHERITANCE_MODE_TABLE[]
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 70 of file scripting.cpp.

Referenced by Dali::Scripting::GetPositionInheritanceMode().

const unsigned int Dali::Scripting::anonymous_namespace{scripting.cpp}::POSITION_INHERITANCE_MODE_TABLE_COUNT = sizeof( POSITION_INHERITANCE_MODE_TABLE ) / sizeof( POSITION_INHERITANCE_MODE_TABLE[0] )

Definition at line 77 of file scripting.cpp.

Referenced by Dali::Scripting::GetPositionInheritanceMode().

Dali Docs Home
Read more about Dali