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-impl.h;h=db02721278224b883a60748d38d6f4a35e31f019;hp=63a897c6c755c281301d3dba400e9a99d745caed;hb=1bc80454daa9e30655e4c4dec1784f6e9e5f496a;hpb=dfd3018cbcc4e2a9c61b3cd165a0bd9b538b9d0c diff --git a/dali-toolkit/internal/text/text-controller-impl.h b/dali-toolkit/internal/text/text-controller-impl.h index 63a897c..db02721 100755 --- a/dali-toolkit/internal/text/text-controller-impl.h +++ b/dali-toolkit/internal/text/text-controller-impl.h @@ -49,6 +49,7 @@ const float DEFAULT_FONT_SIZE_SCALE = 1.f; struct CursorInfo; struct FontDefaults; struct ControllerImplEventHandler; +struct SelectionHandleController; class SelectableControlInterface; @@ -109,7 +110,7 @@ struct EventData EventData( DecoratorPtr decorator, InputMethodContext& inputMethodContext ); - ~EventData(); + ~EventData() = default; static bool IsEditingState( State stateToCheck ) { @@ -174,7 +175,7 @@ struct EventData bool mPlaceholderEllipsisFlag : 1; ///< True if the text controller sets the placeholder ellipsis. bool mShiftSelectionFlag : 1; ///< True if the text selection using Shift key is enabled. bool mUpdateAlignment : 1; ///< True if the whole text needs to be full aligned.. - bool mEditingEnabled : 1; ///< True if the editing is enabled, false otherwise. + bool mEditingEnabled : 1; ///< True if the editing is enabled, false otherwise. }; struct ModifyEvent @@ -614,22 +615,6 @@ struct Controller::Impl */ float GetDefaultFontLineHeight(); - void OnCursorKeyEvent( const Event& event ); - - void OnTapEvent( const Event& event ); - - void OnPanEvent( const Event& event ); - - void OnLongPressEvent( const Event& event ); - - void OnHandleEvent( const Event& event ); - - void OnSelectEvent( const Event& event ); - - void OnSelectAllEvent(); - - void OnSelectNoneEvent(); - /** * @copydoc Text::Controller::GetPrimaryCursorPosition() */ @@ -849,6 +834,7 @@ public: private: friend ControllerImplEventHandler; + friend SelectionHandleController; }; } // namespace Text