X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Ftext%2Fdecorator%2Ftext-decorator.h;h=e3501b164056e9b117c9507bb66e4ca58d73c283;hp=b9adf17afe186e899e4f538f6b9a3a527d817f7b;hb=8363c13a95006c0cbfe3074e9b601bdaef9537f5;hpb=e7673eb153679d438cb144e2b2bdc74b5d4294d9 diff --git a/dali-toolkit/public-api/text/decorator/text-decorator.h b/dali-toolkit/public-api/text/decorator/text-decorator.h index b9adf17..e3501b1 100644 --- a/dali-toolkit/public-api/text/decorator/text-decorator.h +++ b/dali-toolkit/public-api/text/decorator/text-decorator.h @@ -32,7 +32,10 @@ class Vector4; namespace Toolkit { -class ControlImpl; +namespace Internal +{ +class Control; +} namespace Text { @@ -72,7 +75,7 @@ public: * @param[in] parent Decorations will be added to this parent control. * @return A pointer to a new Decorator. */ - static DecoratorPtr New( ControlImpl& parent ); + static DecoratorPtr New( Internal::Control& parent ); /** * @brief The decorator waits until a relayout before creating actors etc. @@ -119,22 +122,21 @@ public: /** * @brief Sets the image for a cursor. * - * @param[in] cursor The cursor to set. * @param[in] image The image to use. */ - void SetImage( Cursor cursor, Dali::Image image ); + void SetCursorImage( Dali::Image image ); /** * @brief Retrieves the image for a cursor. * * @return The cursor image. */ - Dali::Image GetImage( Cursor cursor ) const; + Dali::Image GetCursorImage() const; /** * @brief Sets the color for a cursor. * - * @param[in] cursor The cursor to set. + * @param[in] cursor Whether this color is for the primary or secondary cursor. * @param[in] color The color to use. */ void SetColor( Cursor cursor, const Dali::Vector4& color ); @@ -142,6 +144,7 @@ public: /** * @brief Retrieves the color for a cursor. * + * @param[in] cursor Whether this color is for the primary or secondary cursor. * @return The cursor color. */ const Dali::Vector4& GetColor( Cursor cursor ) const; @@ -197,7 +200,7 @@ private: * @brief Private constructor. * @param[in] parent Decorations will be added to this parent control. */ - Decorator(ControlImpl& parent); + Decorator(Internal::Control& parent); // Undefined Decorator( const Decorator& handle );