X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fmarkup-processor-underline.h;h=cde347ce5369f69f044b7baa235bc60fa1fe4397;hb=3f5a7ea2f13d8cc9e0072111dd196e21cf5505cb;hp=f21071835272004c5dc028f2bdf0c388d062fb57;hpb=076f84a43592f26ff0aa2bced54583f712800fe3;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