X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fbidirectional-support.h;h=1ca4eca317ac850cdcce8d824c4d0c82e03dab04;hp=39ec9d61dc250f7f437a84aaaeb23b690c9e8632;hb=b694e7e2ae624e206e1548b1a863c554eb9cd4d7;hpb=eefe73d95db6e9be0b518c5b796e1f1a081cce12 diff --git a/dali-toolkit/internal/text/bidirectional-support.h b/dali-toolkit/internal/text/bidirectional-support.h old mode 100644 new mode 100755 index 39ec9d6..1ca4eca --- a/dali-toolkit/internal/text/bidirectional-support.h +++ b/dali-toolkit/internal/text/bidirectional-support.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_TEXT_BIDIRECTIONAL_SUPPORT_H__ -#define __DALI_TOOLKIT_TEXT_BIDIRECTIONAL_SUPPORT_H__ +#ifndef DALI_TOOLKIT_TEXT_BIDIRECTIONAL_SUPPORT_H +#define DALI_TOOLKIT_TEXT_BIDIRECTIONAL_SUPPORT_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. @@ -20,6 +20,7 @@ // EXTERNAL INCLUDES #include +#include // INTERNAL INCLUDES #include @@ -45,13 +46,17 @@ namespace Text * @param[in] startIndex The character from where the bidirectional info is set. * @param[in] numberOfCharacters The number of characters. * @param[out] bidirectionalInfo Vector with the bidirectional infor for each paragraph. + * @param[in] matchSystemLanguageDirection Whether match for system language direction or not. + * @param[in] layoutDirection The direction of the system language. */ void SetBidirectionalInfo( const Vector& text, const Vector& scripts, const Vector& lineBreakInfo, CharacterIndex startIndex, Length numberOfCharacters, - Vector& bidirectionalInfo ); + Vector& bidirectionalInfo, + bool matchSystemLanguageDirection = false, + Dali::LayoutDirection::Type layoutDirection = LayoutDirection::LEFT_TO_RIGHT ); /** * Sets the visual to logical map tables. @@ -118,4 +123,4 @@ void GetCharactersDirection( const Vector& bidire } // namespace Dali -#endif // __DALI_TOOLKIT_TEXT_BIDIRECTIONAL_SUPPORT_H__ +#endif // DALI_TOOLKIT_TEXT_BIDIRECTIONAL_SUPPORT_H