X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Ftext%2Flogical-model.h;h=059a38bef08f82f1071c0770c6253d65a8a19999;hp=f5730144ed372f3a446e81de71ccd17ed227c65d;hb=2dd044328238768ae8b27a223cb7d0f5cda53513;hpb=30ead727af1371695a21bccc5be36f58912090ca diff --git a/dali-toolkit/public-api/text/logical-model.h b/dali-toolkit/public-api/text/logical-model.h index f573014..059a38b 100644 --- a/dali-toolkit/public-api/text/logical-model.h +++ b/dali-toolkit/public-api/text/logical-model.h @@ -18,10 +18,10 @@ * */ -// EXTERNAL INCLUDES -#include - // INTERNAL INCLUDES +#include +#include +#include #include namespace Dali @@ -63,10 +63,10 @@ public: * @brief Replaces any text previously set. * * @param[in] text An array of UTF-32 characters. - * @param[in] length The length of the array. + * @param[in] numberOfCharacters The length of the array. */ - void SetText( const Character* text, - Length length ); + void SetText( const Character* const text, + Length numberOfCharacters ); /** * @brief Retrieves the number of characters of the text. @@ -87,6 +87,15 @@ public: Character* text, Length numberOfCharacters ) const; + /** + * Retrieves a character. + * + * @param[in] characterIndex Index to a character. + * + * @return A character. + */ + Character GetCharacter( CharacterIndex characterIndex ) const; + // Language support interface. /** @@ -395,6 +404,7 @@ public: void GetVisualToLogicalMap( CharacterIndex* visualToLogicalMap, CharacterIndex characterIndex, Length numberOfCharacters ) const; + protected: /**