X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fbidirectional-line-info-run.h;h=63a801718f5cd95d2cc3e15954cabaec241ff971;hp=355668d6574fda13a0d2c3609c6675b194cc4112;hb=7018f61b640b6fcf9cb576b537bafcb6bb8240e8;hpb=10d2080e1d25b75347daa2f8c2dcee494fbcb175 diff --git a/dali-toolkit/internal/text/bidirectional-line-info-run.h b/dali-toolkit/internal/text/bidirectional-line-info-run.h index 355668d..63a8017 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) 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 @@ -46,4 +44,4 @@ struct BidirectionalLineInfoRun } // namespace Dali -#endif // __DALI_TOOLKIT_TEXT_BIDIRECTIONAL_LINE_INFO_RUN_H__ +#endif // DALI_TOOLKIT_TEXT_BIDIRECTIONAL_LINE_INFO_RUN_H