X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fmarkup-processor-underline.h;h=cde347ce5369f69f044b7baa235bc60fa1fe4397;hb=16561908a5e0e9bbef2aa11c9cdc3a27aeb1bd54;hp=f21071835272004c5dc028f2bdf0c388d062fb57;hpb=a3c24db302ffb83a32a0b5d8fba0b2c9de2b6634;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/markup-processor-underline.h b/dali-toolkit/internal/text/markup-processor-underline.h index f210718..cde347c 100644 --- a/dali-toolkit/internal/text/markup-processor-underline.h +++ b/dali-toolkit/internal/text/markup-processor-underline.h @@ -18,6 +18,12 @@ * */ +// EXTERNAL INCLUDES +#include + +// INTERNAL INCLUDES +#include + namespace Dali { namespace Toolkit @@ -26,7 +32,6 @@ namespace Text { struct Tag; struct Attribute; -struct UnderlinedCharacterRun; /** * @brief Fill the underlined character run with the type attribute value. @@ -76,6 +81,13 @@ void ProcessColorAttribute(const Attribute& attribute, UnderlinedCharacterRun& u */ void ProcessUnderlineTag(const Tag& tag, UnderlinedCharacterRun& underlinedCharacterRun); +/** + * @brief Override the run's attributes which contained in the previous run. This is to handle the nested tags. + * + * @param[in,out] underlinedCharacterRuns The list of underlined character run + */ +void OverrideNestedUnderlinedCharacterRuns(Vector& underlinedCharacterRuns); + } // namespace Text } // namespace Toolkit