X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Ftext-controls%2Ftext-label-impl.h;h=edf0a20ce419fbe763c8d68de51b2f19eebb5eda;hp=b935c84131e24bcf28415eff31e550af0d635b83;hb=d4938b4b2872ea432f45fcdedbc13e85af0d08df;hpb=83902cc72796cacafb20815aeeef5dc1846f9f0a diff --git a/dali-toolkit/internal/controls/text-controls/text-label-impl.h b/dali-toolkit/internal/controls/text-controls/text-label-impl.h index b935c84..edf0a20 100644 --- a/dali-toolkit/internal/controls/text-controls/text-label-impl.h +++ b/dali-toolkit/internal/controls/text-controls/text-label-impl.h @@ -25,18 +25,18 @@ #include // INTERNAL INCLUDES +#include #include #include +#include #include #include #include -#include #include #include #include #include #include - namespace Dali { namespace Toolkit @@ -143,6 +143,15 @@ public: */ Rect GetCharacterBoundingRectangle(const uint32_t charIndex) const; + /** + * @brief Set the @p spannedText into current textLabel + * the spanned text contains content (text) and format (spans with ranges) + * the text is copied into text-controller and the spans are applied on ranges + * + * @param[in] spannedText the text with spans. + */ + void SetSpannedText(const Text::Spanned& spannedText); + private: // From Control /** * @copydoc Control::OnInitialize()