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=8190fcd08439d56788f2e5b3464e6ddf6d1a078e;hp=2a9680a11fe6e38c503b3676a353f04fa0b7e680;hb=528aa3699cd51dab5115bca1aaebb65d4bc67c15;hpb=830f03638ec6ecd3b12ba3d9eb6419fdb3a3db09 diff --git a/dali-toolkit/internal/text/font-run.h b/dali-toolkit/internal/text/font-run.h index 2a9680a..8190fcd 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) 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. @@ -35,9 +35,10 @@ namespace Text */ struct FontRun { - CharacterRun characterRun; ///< The initial character index and the number of characters of the run. - FontId fontId; ///< Font id of the run. - bool isDefault; ///< Whether the font is a default font not defined by the user. + 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 @@ -46,4 +47,4 @@ struct FontRun } // namespace Dali -#endif // __DALI_TOOLKIT_TEXT_FONT_RUN_H__ +#endif // DALI_TOOLKIT_TEXT_FONT_RUN_H