X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-effects-style.h;h=fb21fe9b95473380d67d135a71dcbb6b3f4697f5;hp=9feb75ca9ba1e4e494c553e2cb045daca5311d93;hb=754246a1c8812496ac70cdef21c122069ad21640;hpb=aeef40d5dd70c7d878c7664986913ef2c6675a03 diff --git a/dali-toolkit/internal/text/text-effects-style.h b/dali-toolkit/internal/text/text-effects-style.h index 9feb75c..fb21fe9 100644 --- a/dali-toolkit/internal/text/text-effects-style.h +++ b/dali-toolkit/internal/text/text-effects-style.h @@ -18,12 +18,8 @@ * */ -// EXTERNAL INCLUDES -#include - // INTERNAL INCLUDES #include -#include namespace Dali { @@ -44,6 +40,36 @@ namespace EffectStyle }; /** + * @brief Parses the shadow properties. + * + * @param[out] colorDefined Whether the shadow's color is defined. + * @param[out] color The shadow's color. + * @param[out] offsetDefined Whether the shadow's offset is defined. + * @param[out] offset The shadow's offset. + */ +bool ParseProperties( const std::string& shadowProperties, + bool& colorDefined, + Vector4& color, + bool& offsetDefined, + Vector2& offset ); + +/** + * @brief Parses the underline properties. + * + * @param[out] enabled Whether the underline is enabled. + * @param[out] colorDefined Whether the underline's color is defined. + * @param[out] color The underline's color. + * @param[out] heightDefined Whether the underline's height is defined. + * @param[out] height The underline's height. + */ +bool ParseProperties( const std::string& underlineProperties, + bool& enabled, + bool& colorDefined, + Vector4& color, + bool& heightDefined, + float& height ); + +/** * @brief Sets the underline properties. * * @param[in] controller The text's controller.