X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-controller.h;h=66bf3a00cb450aceded822d5b2ad7f4a4efb5ea2;hb=2f04666b2b18b76b7310b0e8f9332b67583dbe2e;hp=6c12dd3b25dc5f02b95fc3755d8d038dc3d07b71;hpb=0a602bfd2ebfc87655895aaaabecce8de5c12d33;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 6c12dd3..66bf3a0 100644 --- a/dali-toolkit/internal/text/text-controller.h +++ b/dali-toolkit/internal/text/text-controller.h @@ -379,6 +379,18 @@ public: void ResetText(); /** + * @brief Used to reset the cursor position after setting a new text. + * + * @param[in] cursorIndex Where to place the cursor. + */ + void ResetCursorPosition( CharacterIndex cursorIndex ); + + /** + * @brief Used to reset the scroll position after setting a new text. + */ + void ResetScrollPosition(); + + /** * @brief Used to process an event queued from SetText() */ void TextReplacedEvent(); @@ -520,7 +532,7 @@ public: /** * @copydoc Dali::Toolkit::Text::Decorator::ControllerInterface::AddDecoration() */ - virtual void AddDecoration( Actor& actor ); + virtual void AddDecoration( Actor& actor, bool needsClipping ); /** * @copydoc Dali::Toolkit::Text::Decorator::ControllerInterface::DecorationEvent()