X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fbidirectional-line-info-run.h;h=c04918bef52a330456b8d2b574de9ce9326ca8ae;hb=b05a852e155e887cb0e9e1018205c57bfbbfa334;hp=90c8514a7122287a89e3b336d68a68d9337069cb;hpb=830f03638ec6ecd3b12ba3d9eb6419fdb3a3db09;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/bidirectional-line-info-run.h b/dali-toolkit/internal/text/bidirectional-line-info-run.h index 90c8514..c04918b 100644 --- a/dali-toolkit/internal/text/bidirectional-line-info-run.h +++ b/dali-toolkit/internal/text/bidirectional-line-info-run.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_TEXT_BIDIRECTIONAL_LINE_INFO_RUN_H__ -#define __DALI_TOOLKIT_TEXT_BIDIRECTIONAL_LINE_INFO_RUN_H__ +#ifndef DALI_TOOLKIT_TEXT_BIDIRECTIONAL_LINE_INFO_RUN_H +#define DALI_TOOLKIT_TEXT_BIDIRECTIONAL_LINE_INFO_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 BidirectionalLineInfoRun { - CharacterRun characterRun; ///< The initial character index within the whole text and the number of characters of the run. - CharacterIndex* visualToLogicalMap; ///< Pointer to the visual to logical map table. - CharacterIndex* logicalToVisualMap; ///< Pointer to the logical to visual map table. + CharacterRun characterRun; ///< The initial character index within the whole text and the number of characters of the run. + CharacterIndex* visualToLogicalMap; ///< Pointer to the visual to logical map table. + CharacterDirection direction:1; ///< Direction of the first character of the paragraph. + bool isIdentity:1; ///< Whether the map is the identity. }; } // namespace Text @@ -46,4 +47,4 @@ struct BidirectionalLineInfoRun } // namespace Dali -#endif // __DALI_TOOLKIT_TEXT_BIDIRECTIONAL_LINE_INFO_RUN_H__ +#endif // DALI_TOOLKIT_TEXT_BIDIRECTIONAL_LINE_INFO_RUN_H