Support span tag: background
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / markup-processor-span.h
index f5c49f6..d6b514a 100644 (file)
@@ -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,21 @@ 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] 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.
  */
 void ProcessSpanTag(const Tag&              tag,
                     ColorRun&               colorRun,
                     FontDescriptionRun&     fontRun,
                     UnderlinedCharacterRun& underlinedCharacterRun,
+                    ColorRun&               backgroundColorRun,
                     bool&                   isColorDefined,
                     bool&                   isFontDefined,
-                    bool&                   isUnderlinedCharacterDefined);
+                    bool&                   isUnderlinedCharacterDefined,
+                    bool&                   isBackgroundColorDefined);
 
 } // namespace Text