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-color.h;h=02210fbb0f42ef0c33b6f8a695e75bc7246f0903;hp=52fa73b316dd0ebc5ea6400520e3c685660d49f6;hb=528ee21711fc507b20ddb031cf6b1d71f1f44e75;hpb=b97b29c76acefabbae2c0a4e9ecc261bf9dd8036 diff --git a/dali-toolkit/internal/text/markup-processor-color.h b/dali-toolkit/internal/text/markup-processor-color.h index 52fa73b..02210fb 100644 --- a/dali-toolkit/internal/text/markup-processor-color.h +++ b/dali-toolkit/internal/text/markup-processor-color.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_TEXT_MARKUP_PROCESSOR_COLOR_H /* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 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. @@ -20,23 +20,29 @@ namespace Dali { - namespace Toolkit { - namespace Text { - struct Tag; +struct Attribute; struct ColorRun; /** * @brief Retrieves the color value from the tag and sets it to the color run. * + * @param[in] attribute the color attribute. + * @param[in,out] colorRun The color run. + */ +void ProcessColor(const Attribute& attribute, ColorRun& colorRun); + +/** + * @brief Retrieves the color value from the tag and sets it to the color run. + * * @param[in] tag The color tag and its attributes. * @param[in,out] colorRun The color run. */ -void ProcessColorTag( const Tag& tag, ColorRun& colorRun ); +void ProcessColorTag(const Tag& tag, ColorRun& colorRun); } // namespace Text