X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-controller.h;h=54444b186d74cc01c6df6008238c3719d4f1027c;hp=2661270d4d2ac270334b024aaa785bdfb6cf9c30;hb=d48e9b8b161367ad699c0352dfeb0128832bbe59;hpb=60d99d04d7677a1b91d4f2fdd9e74bc5e1b5e7bf diff --git a/dali-toolkit/internal/text/text-controller.h b/dali-toolkit/internal/text/text-controller.h index 2661270..54444b1 100755 --- a/dali-toolkit/internal/text/text-controller.h +++ b/dali-toolkit/internal/text/text-controller.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_TEXT_CONTROLLER_H /* - * Copyright (c) 2018 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 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. @@ -1506,6 +1506,31 @@ public: // Text-input Event Queuing. Uint32Pair GetTextSelectionRange() const; /** + * @copydoc Text::SelectableControlInterface::SelectWholeText() + */ + void SelectWholeText(); + + /** + * @copydoc Text::SelectableControlInterface::SelectNone() + */ + void SelectNone(); + + /** + * @copydoc Text::SelectableControlInterface::GetSelectedText() + */ + string GetSelectedText() const; + + /** + * @copydoc Text::EditableControlInterface::IsEditable() + */ + virtual bool IsEditable() const; + + /** + * @copydoc Text::EditableControlInterface::SetEditable() + */ + virtual void SetEditable( bool editable ); + + /** * @brief Event received from input method context * * @param[in] inputMethodContext The input method context. @@ -1533,13 +1558,6 @@ public: // Text-input Event Queuing. */ Actor CreateBackgroundActor(); - /** - * @brief Retrive Selected text. - * - * @return The seleced text. - */ - std::string GetSelectedText(); - protected: // Inherit from Text::Decorator::ControllerInterface. /** @@ -1733,6 +1751,10 @@ public: private: + struct EventHandler; + struct InputFontHandler; + struct PlaceholderHandler; + Impl* mImpl; };