X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-font-style.h;h=4a01d32a519a0ba359eab402890a5670923f258f;hp=425131d18e1ccdb79b077a8d510a2a4f6dd8fd34;hb=427f642f46df778c141cc7ab9718ce33d0ce01e1;hpb=dda9d7ca30d6f5c42759647df03a13e52c76228a diff --git a/dali-toolkit/internal/text/text-font-style.h b/dali-toolkit/internal/text/text-font-style.h index 425131d..4a01d32 100644 --- a/dali-toolkit/internal/text/text-font-style.h +++ b/dali-toolkit/internal/text/text-font-style.h @@ -23,7 +23,6 @@ // INTERNAL INCLUDES #include -#include namespace Dali { @@ -84,17 +83,26 @@ namespace FontStyle { enum Type { - DEFAULT, ///< The default font's style. - INPUT ///< The input font's style. + DEFAULT, ///< The default font's style. + INPUT, ///< The input font's style. + PLACEHOLDER ///< The placeholder text font's style. }; }; /** + * @brief Sets the font family property. + * + * @param[in] controller The text's controller. + * @param[in] value The value of the font's family. + */ +void SetFontFamilyProperty( ControllerPtr controller, const Property::Value& value ); + +/** * @brief Sets the font's style property. * * @param[in] controller The text's controller. * @param[in] value The value of the font's style. - * @param[in] type Whether the property is for the default font's style or the input font's style. + * @param[in] type Whether the property is for the default font's style, the input font's style or the placeholder font's style. * */ void SetFontStyleProperty( ControllerPtr controller, const Property::Value& value, FontStyle::Type type ); @@ -104,7 +112,7 @@ void SetFontStyleProperty( ControllerPtr controller, const Property::Value& valu * * @param[in] controller The text's controller. * @param[out] value The value of the font's style. - * @param[in] type Whether the property is for the default font's style or the input font's style. + * @param[in] type Whether the property is for the default font's style, the input font's style or the placeholder font's style. */ void GetFontStyleProperty( ControllerPtr controller, Property::Value& value, FontStyle::Type type );