X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fdecorator%2Ftext-decorator.h;h=873bdccef9265df0ed6eaa5dbc48277c9f61d149;hp=b271b7b30abab039660597efcae74edef5ce5141;hb=e0c3ff90edd572ae3ba104d207deb1586eae4aed;hpb=9b8b84a8126d039e3e0b5590ebde2157b5d33d77 diff --git a/dali-toolkit/internal/text/decorator/text-decorator.h b/dali-toolkit/internal/text/decorator/text-decorator.h index b271b7b..873bdcc 100644 --- a/dali-toolkit/internal/text/decorator/text-decorator.h +++ b/dali-toolkit/internal/text/decorator/text-decorator.h @@ -132,7 +132,7 @@ public: * * @param[in] decoration The actor displaying a decoration. */ - virtual void AddDecoration( Actor& actor ) = 0; + virtual void AddDecoration( Actor& actor, bool needsClipping ) = 0; /** * @brief An input event from one of the handles. @@ -355,6 +355,23 @@ public: void GetPosition( HandleType handleType, float& x, float& y, float& lineHeight ) const; /** + * @brief Retrieves the position of a selection handle. + * + * @param[in] handleType The handle to get. + * + * @return The position of the selection handle relative to the top-left of the parent control. + */ + const Vector2& GetPosition( HandleType handleType ) const; + + /** + * @brief Swaps the selection handle's images. + * + * This method is called by the text controller to swap the handles + * when the start index is bigger than the end one. + */ + void SwapSelectionHandlesEnabled( bool enable ); + + /** * @brief Adds a quad to the existing selection highlights. * * @param[in] x1 The top-left x position.