X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fmarkup-processor-span.h;h=5630fd39b92529e4c41e3523799fa2e924b2c9c7;hp=330caf164bafa684c586e587fe65ce5661befff0;hb=c49e595f12e9e56cd7c35262eb52ae1f2d9b685b;hpb=85a9005b80fce7dedf0acc52cf73aa950905e3ec diff --git a/dali-toolkit/internal/text/markup-processor-span.h b/dali-toolkit/internal/text/markup-processor-span.h index 330caf1..5630fd3 100644 --- a/dali-toolkit/internal/text/markup-processor-span.h +++ b/dali-toolkit/internal/text/markup-processor-span.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_TEXT_MARKUP_PROCESSOR_SPAN_H /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,10 +33,30 @@ struct MarkupProcessData; * @param[in] tag The span tag and its attributes. * @param[out] colorRun the color run to be filled. * @param[out] fontRun the font run to be filled. + * @param[out] underlinedCharacterRun the underlined character run to be filled. + * @param[out] backgroundColorRun the background color run to be filled. + * @param[out] strikethroughRun the strikethrough run to be filled. + * @param[out] characterSpacingCharacterRun the character-spacing run to be filled. * @param[out] isColorDefined if the span has color defined. * @param[out] isFontDefined if the span has font defined. + * @param[out] isUnderlinedCharacterDefined if the span has underlined-character defined. + * @param[out] isBackgroundColorDefined if the span has background color defined. + * @param[out] isStrikethroughDefined if the span has strikethrough defined. + * @param[out] isCharacterSpacingDefined if the span has character-spacing defined. */ -void ProcessSpanTag(const Tag& tag, ColorRun& colorRun, FontDescriptionRun& fontRun, bool& isColorDefined, bool& isFontDefined); +void ProcessSpanTag(const Tag& tag, + ColorRun& colorRun, + FontDescriptionRun& fontRun, + UnderlinedCharacterRun& underlinedCharacterRun, + ColorRun& backgroundColorRun, + StrikethroughCharacterRun& strikethroughRun, + CharacterSpacingCharacterRun& characterSpacingCharacterRun, + bool& isColorDefined, + bool& isFontDefined, + bool& isUnderlinedCharacterDefined, + bool& isBackgroundColorDefined, + bool& isStrikethroughDefined, + bool& isCharacterSpacingDefined); } // namespace Text