X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fmarkup-processor.h;h=de66e7f56cb3a5159bef6ebb5029f24f2cabb650;hb=87a9019904ab49c42f1e32e7ebb6a1512b0dc28c;hp=966622efd1d47c601bbfa8d61dfa774d65a569d1;hpb=49fabc565606e00c95baacb41f009de2a532a4da;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/markup-processor.h b/dali-toolkit/internal/text/markup-processor.h old mode 100644 new mode 100755 index 966622e..de66e7f --- a/dali-toolkit/internal/text/markup-processor.h +++ b/dali-toolkit/internal/text/markup-processor.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_TEXT_MARKUP_PROCESSOR_H__ -#define __DALI_TOOLKIT_TEXT_MARKUP_PROCESSOR_H__ +#ifndef DALI_TOOLKIT_TEXT_MARKUP_PROCESSOR_H +#define DALI_TOOLKIT_TEXT_MARKUP_PROCESSOR_H /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 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. @@ -24,6 +24,8 @@ // INTERNAL INCLUDES #include +#include +#include namespace Dali { @@ -39,14 +41,19 @@ namespace Text */ struct MarkupProcessData { - MarkupProcessData( Vector& colorRuns ) +MarkupProcessData( Vector& colorRuns, + Vector& fontRuns, + Vector& items ) : colorRuns( colorRuns ), + fontRuns( fontRuns ), + items(items), markupProcessedText() {} - Vector& colorRuns; - - std::string markupProcessedText; + Vector& colorRuns; ///< The color runs. + Vector& fontRuns; ///< The font description runs. + Vector& items; ///< The embedded items. + std::string markupProcessedText; ///< The mark-up string. }; /** @@ -63,4 +70,4 @@ void ProcessMarkupString( const std::string& markupString, MarkupProcessData& ma } // namespace Dali -#endif // __DALI_TOOLKIT_TEXT_MARKUP_PROCESSOR_H__ +#endif // DALI_TOOLKIT_TEXT_MARKUP_PROCESSOR_H