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=bb4469838a726c6548028567b5d22d7d014af265;hp=0234e7c47362b432f8e62d62a53db148899667de;hb=4bce4a632f936959d3be32a106d534459d10e88d;hpb=c25b3c40178dadf12dc5e8f77c17413df0a55099 diff --git a/dali-toolkit/internal/text/text-controller.h b/dali-toolkit/internal/text/text-controller.h index 0234e7c..bb44698 100644 --- a/dali-toolkit/internal/text/text-controller.h +++ b/dali-toolkit/internal/text/text-controller.h @@ -243,6 +243,20 @@ public: bool IsUnderlineEnabled() const; /** + * @brief Set the override used for underline height, 0 indicates height will be supplied by font metrics + * + * @param[in] height The height in pixels of the underline + */ + void SetUnderlineHeight( float height ); + + /** + * @brief Retrieves the override height of an underline, 0 indicates height is supplied by font metrics + * + * @return The height of the underline, or 0 if height is not overrided. + */ + float GetUnderlineHeight() const; + + /** * @brief Called to enable text input. * * @note Only selectable or editable controls should calls this. @@ -399,9 +413,9 @@ public: void PanEvent( Gesture::State state, const Vector2& displacement ); /** - * @copydoc Dali::Toolkit::Text::Decorator::Observer::GrabHandleEvent() + * @copydoc Dali::Toolkit::Text::Decorator::Observer::HandleEvent() */ - virtual void GrabHandleEvent( GrabHandleState state, float x, float y ); + virtual void HandleEvent( HandleType handle, HandleState state, float x, float y ); protected: @@ -413,11 +427,6 @@ protected: private: /** - * @brief Request a relayout using the ControlInterface. - */ - void RequestRelayout(); - - /** * @brief Private constructor. */ Controller( ControlInterface& controlInterface ); @@ -432,12 +441,6 @@ private: struct Impl; Impl* mImpl; - - // Avoid allocating this when the user does not specify a font - struct FontDefaults; - - // Avoid allocating this for non-editable controls - struct TextInput; }; } // namespace Text