X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-controller.h;h=546389c9cb199756c201c72b32185f74503b53d1;hb=726e147d14bb18ef193b102a36d8068b62db89ed;hp=d239d130ee90f28ae1160b7904b2fca1a263775f;hpb=a0a33727b8aa3ba5f32d4541f07718151f9574af;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/text-controller.h b/dali-toolkit/internal/text/text-controller.h index d239d13..546389c 100644 --- a/dali-toolkit/internal/text/text-controller.h +++ b/dali-toolkit/internal/text/text-controller.h @@ -115,6 +115,13 @@ public: void EnableTextInput( DecoratorPtr decorator ); /** + * @brief Used to switch between bitmap & vector based glyphs + * + * @param[in] glyphType The type of glyph; note that metrics for bitmap & vector based glyphs are different. + */ + void SetGlyphType( TextAbstraction::GlyphType glyphType ); + + /** * @brief Enables/disables the mark-up processor. * * By default is disabled. @@ -151,10 +158,10 @@ public: * @brief Remove a given number of characters * * @param[in] cursorOffset Start position from the current cursor position to start deleting characters. - * @param[in] numberOfChars The number of characters to delete from the cursorOffset. + * @param[in] numberOfCharacters The number of characters to delete from the cursorOffset. * @return True if the remove was successful. */ - bool RemoveText( int cursorOffset, int numberOfChars ); + bool RemoveText( int cursorOffset, int numberOfCharacters ); /** * @brief Retrieve the current cursor position. @@ -283,7 +290,7 @@ public: * @ brief Update the text after a font change * @param[in] newDefaultFont The new font to change to */ - void UpdateAfterFontChange( std::string& newDefaultFont ); + void UpdateAfterFontChange( const std::string& newDefaultFont ); /** * @brief Set the text color @@ -769,11 +776,6 @@ private: void ShowPlaceholderText(); /** - * @brief Helper to clear all the model data except for LogicalModel::mText. - */ - void ClearModelData(); - - /** * @brief Helper to clear font-specific data (only). */ void ClearFontData();