X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali-toolkit%2Finternal%2Ftext%2Fbidirectional-line-info-run.h;h=63a801718f5cd95d2cc3e15954cabaec241ff971;hb=7018f61b640b6fcf9cb576b537bafcb6bb8240e8;hp=e34e6d0782925fffa1d8601ff1b6cdff98487b1d;hpb=b694e7e2ae624e206e1548b1a863c554eb9cd4d7;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