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.h;h=fee7ae1dc5fe363d95647dfc4a8d00c074f34923;hp=de66e7f56cb3a5159bef6ebb5029f24f2cabb650;hb=9ddd5fea6278d06b8874988498c7c4c6508750ba;hpb=f2039d47f9bed8104575da80a2ecf0bb6e37ff8d diff --git a/dali-toolkit/internal/text/markup-processor.h b/dali-toolkit/internal/text/markup-processor.h old mode 100755 new mode 100644 index de66e7f..fee7ae1 --- a/dali-toolkit/internal/text/markup-processor.h +++ b/dali-toolkit/internal/text/markup-processor.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_TEXT_MARKUP_PROCESSOR_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. @@ -29,26 +29,24 @@ namespace Dali { - namespace Toolkit { - namespace Text { - /** * @brief Keeps the plain text and references to vectors from the model which stores runs with text styles. */ struct MarkupProcessData { -MarkupProcessData( Vector& colorRuns, - Vector& fontRuns, - Vector& items ) - : colorRuns( colorRuns ), - fontRuns( fontRuns ), + MarkupProcessData(Vector& colorRuns, + Vector& fontRuns, + Vector& items) + : colorRuns(colorRuns), + fontRuns(fontRuns), items(items), markupProcessedText() - {} + { + } Vector& colorRuns; ///< The color runs. Vector& fontRuns; ///< The font description runs. @@ -62,7 +60,7 @@ MarkupProcessData( Vector& colorRuns, * @param[in] markupString The mark-up string. * @param[out] markupProcessData The plain text and the style. */ -void ProcessMarkupString( const std::string& markupString, MarkupProcessData& markupProcessData ); +void ProcessMarkupString(const std::string& markupString, MarkupProcessData& markupProcessData); } // namespace Text