X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fscript-run.h;h=acdd7a75ad6d21d4e76189f192459d4fc8fcabc7;hp=3533df63995699e1b67d9e7ab43068e1af17b90e;hb=00758f1301dd0bfbf6dc87659a6db9d0ba2c6816;hpb=d04c5bdbb95cc98f90848c7a98b0b2804df6e5b8 diff --git a/dali-toolkit/internal/text/script-run.h b/dali-toolkit/internal/text/script-run.h index 3533df6..acdd7a7 100644 --- a/dali-toolkit/internal/text/script-run.h +++ b/dali-toolkit/internal/text/script-run.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_TEXT_SCRIPT_RUN_H__ -#define __DALI_TOOLKIT_TEXT_SCRIPT_RUN_H__ +#ifndef DALI_TOOLKIT_TEXT_SCRIPT_RUN_H +#define DALI_TOOLKIT_TEXT_SCRIPT_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,18 @@ namespace Dali { - namespace Toolkit { - namespace Text { - /** * @brief Run of characters with the same script. */ struct ScriptRun { - CharacterRun characterRun; ///< The initial character index and the number of characters of the run. - Script script; ///< Script of the run. + CharacterRun characterRun; ///< The initial character index and the number of characters of the run. + Script script; ///< Script of the run. + bool isRightToLeft; ///< Whether is right to left direction }; } // namespace Text @@ -45,4 +43,4 @@ struct ScriptRun } // namespace Dali -#endif // __DALI_TOOLKIT_TEXT_SCRIPT_RUN_H__ +#endif // DALI_TOOLKIT_TEXT_SCRIPT_RUN_H