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=f5c49f620c396ddec4d4edfd982563a54c80d7e1;hb=c49e595f12e9e56cd7c35262eb52ae1f2d9b685b;hpb=ee33f54bcefdc59971ffa428e6f8e4bdd31b94ed diff --git a/dali-toolkit/internal/text/markup-processor-span.h b/dali-toolkit/internal/text/markup-processor-span.h index f5c49f6..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. @@ -34,17 +34,29 @@ struct MarkupProcessData; * @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, - UnderlinedCharacterRun& underlinedCharacterRun, - bool& isColorDefined, - bool& isFontDefined, - bool& isUnderlinedCharacterDefined); +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