X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-effects-style.h;h=521f52c6b484e1bc0b6487d9bb7ba7e5f730f980;hb=ebf934591e44439f76b1240cef344b1132bcc1d6;hp=9feb75ca9ba1e4e494c553e2cb045daca5311d93;hpb=dda9d7ca30d6f5c42759647df03a13e52c76228a;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/text-effects-style.h b/dali-toolkit/internal/text/text-effects-style.h old mode 100644 new mode 100755 index 9feb75c..521f52c --- 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,53 @@ namespace EffectStyle }; /** + * @brief Parses the shadow properties. + * + * @param[in] shadowProperties The map with 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 ParseShadowProperties( const Property::Map& shadowProperties, + bool& colorDefined, + Vector4& color, + bool& offsetDefined, + Vector2& offset ); + +/** + * @brief Parses the underline properties. + * + * @param[in] underlineProperties The map with 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 ParseUnderlineProperties( const Property::Map& underlineProperties, + bool& enabled, + bool& colorDefined, + Vector4& color, + bool& heightDefined, + float& height ); + +/** + * @brief Parses the outline properties. + * + * @param[in] outlineProperties The map with the outline properties. + * @param[out] colorDefined Whether the outline's color is defined. + * @param[out] color The outline's color. + * @param[out] widthDefined Whether the outline's width is defined. + * @param[out] width The outline's width. + */ +bool ParseOutlineProperties( const Property::Map& outlineProperties, + bool& colorDefined, + Vector4& color, + bool& widthDefined, + float& width ); + +/** * @brief Sets the underline properties. * * @param[in] controller The text's controller.