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-editor-impl.h;h=c8bae9c6dce6157bc05c1dd33652284af21fc315;hp=ba36ad9dcfa262f5253586ba57d55bf705a72fae;hb=dea624eb348a4926d8761c8a1364f03f9f71acf5;hpb=e5d4cd830e75a208dd18c743e1564a4ed1fde780 diff --git a/dali-toolkit/internal/controls/text-controls/text-editor-impl.h b/dali-toolkit/internal/controls/text-controls/text-editor-impl.h index ba36ad9..c8bae9c 100755 --- a/dali-toolkit/internal/controls/text-controls/text-editor-impl.h +++ b/dali-toolkit/internal/controls/text-controls/text-editor-impl.h @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -80,6 +81,11 @@ public: InputMethodContext GetInputMethodContext(); /** + * @copydoc Dali::Toollkit::TextEditor::MaxLengthReachedSignal() + */ + DevelTextEditor::MaxLengthReachedSignalType& MaxLengthReachedSignal(); + + /** * Connects a callback function with the object's signals. * @param[in] object The object providing the signal. * @param[in] tracker Used to disconnect the signal. @@ -158,9 +164,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&) @@ -279,14 +285,15 @@ private: // Implementation */ void RenderText( Text::Controller::UpdateTextType updateTextType ); - // Connection needed to re-render text, when a text editor returns to the stage. - void OnStageConnect( Dali::Actor actor ); + // Connection needed to re-render text, when a text editor returns to the scene. + void OnSceneConnect( Dali::Actor actor ); private: // Data // Signals Toolkit::TextEditor::TextChangedSignalType mTextChangedSignal; Toolkit::TextEditor::InputStyleChangedSignalType mInputStyleChangedSignal; Toolkit::TextEditor::ScrollStateChangedSignalType mScrollStateChangedSignal; + Toolkit::DevelTextEditor::MaxLengthReachedSignalType mMaxLengthReachedSignal; InputMethodContext mInputMethodContext; Text::ControllerPtr mController;