X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fbidirectional-line-info-run.h;h=63a801718f5cd95d2cc3e15954cabaec241ff971;hb=d74d70d51ed70b00e29a2b6feac5419124fffc49;hp=e34e6d0782925fffa1d8601ff1b6cdff98487b1d;hpb=acbe10c62c46a30c58e08d8971a736f04e68dbf8;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 e34e6d0..63a8017 100644 --- a/dali-toolkit/internal/text/bidirectional-line-info-run.h +++ b/dali-toolkit/internal/text/bidirectional-line-info-run.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_TEXT_BIDIRECTIONAL_LINE_INFO_RUN_H /* - * Copyright (c) 2019 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,13 +23,10 @@ namespace Dali { - namespace Toolkit { - namespace Text { - /** * @brief BidirectionalLineInfoRun */ @@ -37,7 +34,8 @@ 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. - CharacterDirection direction; ///< Direction of the first character of the paragraph. + CharacterDirection direction : 1; ///< Direction of the first character of the paragraph. + bool isIdentity : 1; ///< Whether the map is the identity. }; } // namespace Text