X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Ftext-controls%2Ftext-field-impl.h;h=b788d809bd7fc44ea3911c000bae04df0a1e57e3;hp=25bd4bd36093e4c74fe8273eb4de38df9e9ce212;hb=b1e8521ad77e7b4e62b59613b2edef64429130e9;hpb=41d36118a13932bcf1db39b780ac437fcda8aa08 diff --git a/dali-toolkit/internal/controls/text-controls/text-field-impl.h b/dali-toolkit/internal/controls/text-controls/text-field-impl.h index 25bd4bd..b788d80 100755 --- a/dali-toolkit/internal/controls/text-controls/text-field-impl.h +++ b/dali-toolkit/internal/controls/text-controls/text-field-impl.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_INTERNAL_TEXT_FIELD_H /* - * Copyright (c) 2017 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. @@ -107,6 +107,11 @@ public: */ void SelectWholeText(); + /** + * @brief Called to unselect the whole texts. + */ + void SelectNone(); + private: // From Control /** @@ -160,9 +165,9 @@ private: // From Control virtual void OnLongPress( const LongPressGesture& gesture ); /** - * @copydoc Control::OnStageConnection() + * @copydoc Control::OnSceneConnection() */ - virtual void OnStageConnection( int depth ); + virtual void OnSceneConnection( int depth ); /** * @copydoc Dali::CustomActorImpl::OnKeyEvent(const KeyEvent&) @@ -237,7 +242,7 @@ private: // Implementation * @param[in] actor TextField touched * @param[in] touch Touch information */ - bool OnTouched( Actor actor, const TouchData& touch ); + bool OnTouched( Actor actor, const TouchEvent& touch ); /** * @brief Callbacks called on idle. @@ -265,8 +270,8 @@ private: // Implementation */ void RenderText( Text::Controller::UpdateTextType updateTextType ); - // Connection needed to re-render text, when a Text Field returns to the stage. - void OnStageConnect( Dali::Actor actor ); + // Connection needed to re-render text, when a Text Field returns to the scene. + void OnSceneConnect( Dali::Actor actor ); public: // For UTC only