Dali 3D User Interface Engine
Functions
Dali::Toolkit::Internal::anonymous_namespace{builder-set-property.cpp} Namespace Reference

Functions

Vector4 HexStringToVector4 (const char *s)
 Converts a HTML style 'color' hex string ("#FF0000" for bright red) to a Vector4. More...
 

Function Documentation

Vector4 Dali::Toolkit::Internal::anonymous_namespace{builder-set-property.cpp}::HexStringToVector4 ( const char *  s)

Converts a HTML style 'color' hex string ("#FF0000" for bright red) to a Vector4.

The Vector4 alpha component will be set to 1.0f

Parameters
hexStringThe HTML style hex string
Returns
a Vector4 containing the new color value

Definition at line 89 of file builder-set-property.cpp.

Referenced by Dali::Toolkit::Internal::DeterminePropertyFromNode().

Here is the caller graph for this function:

Dali Docs Home
Read more about Dali