X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ffont-run.h;h=ebfe51ae67bbee07a87df498bee80845d5a55408;hp=6027ef710093544b5e53130618ef39f025efd38c;hb=646440beeb663fc5efcccadeba73dd46016ed1b3;hpb=4d763eb68b5aa2448dfc81d90fc5ce598c68c99f diff --git a/dali-toolkit/internal/text/font-run.h b/dali-toolkit/internal/text/font-run.h index 6027ef7..ebfe51a 100644 --- a/dali-toolkit/internal/text/font-run.h +++ b/dali-toolkit/internal/text/font-run.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_TEXT_FONT_RUN_H__ -#define __DALI_TOOLKIT_TEXT_FONT_RUN_H__ +#ifndef DALI_TOOLKIT_TEXT_FONT_RUN_H +#define DALI_TOOLKIT_TEXT_FONT_RUN_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. @@ -23,20 +23,19 @@ namespace Dali { - namespace Toolkit { - namespace Text { - /** * @brief Run of characters with the same font. */ struct FontRun { - CharacterRun characterRun; ///< The initial character index and the number of characters of the run. - FontId fontId; ///< Font id of the run. + CharacterRun characterRun; ///< The initial character index and the number of characters of the run. + FontId fontId; ///< Font id of the run. + bool isItalicRequired : 1; ///< Whether the italic style is required. + bool isBoldRequired : 1; ///< Whether the bold style is required. }; } // namespace Text @@ -45,4 +44,4 @@ struct FontRun } // namespace Dali -#endif // __DALI_TOOLKIT_TEXT_FONT_RUN_H__ +#endif // DALI_TOOLKIT_TEXT_FONT_RUN_H