X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fmarkup-processor-color.h;h=02210fbb0f42ef0c33b6f8a695e75bc7246f0903;hb=7008ea12306b251a506e2ebbf0d85b6a47f1be3d;hp=bf3ea20825ea0a1f961d036018a3822bdc1265d8;hpb=213195730a51b211653cb6ad460b23a6e363b779;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/markup-processor-color.h b/dali-toolkit/internal/text/markup-processor-color.h index bf3ea20..02210fb 100644 --- a/dali-toolkit/internal/text/markup-processor-color.h +++ b/dali-toolkit/internal/text/markup-processor-color.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_TEXT_MARKUP_PROCESSOR_COLOR_H__ -#define __DALI_TOOLKIT_TEXT_MARKUP_PROCESSOR_COLOR_H__ +#ifndef DALI_TOOLKIT_TEXT_MARKUP_PROCESSOR_COLOR_H +#define DALI_TOOLKIT_TEXT_MARKUP_PROCESSOR_COLOR_H /* - * Copyright (c) 2015 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 @@ -44,4 +50,4 @@ void ProcessColorTag( const Tag& tag, ColorRun& colorRun ); } // namespace Dali -#endif // __DALI_TOOLKIT_TEXT_MARKUP_PROCESSOR_COLOR_H__ +#endif // DALI_TOOLKIT_TEXT_MARKUP_PROCESSOR_COLOR_H