X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=inline;f=capi%2Fdali-toolkit%2Fpublic-api%2Fcontrols%2Fscroll-bar%2Fscroll-bar.h;h=4e150cdfc92f98d9fbe2397b2fcb6cb3d1eec991;hb=1f49cc894b0c8c769f4b34f3a0e7084ce686b664;hp=d48304df900a84e2c3f1049f5f786dd92f8186d5;hpb=916eb39585dea4dae019b739376ee493e8fdcc63;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/capi/dali-toolkit/public-api/controls/scroll-bar/scroll-bar.h b/capi/dali-toolkit/public-api/controls/scroll-bar/scroll-bar.h index d48304d..4e150cd 100755 --- a/capi/dali-toolkit/public-api/controls/scroll-bar/scroll-bar.h +++ b/capi/dali-toolkit/public-api/controls/scroll-bar/scroll-bar.h @@ -111,8 +111,23 @@ public: * * @param[in] image The image to cover background * @param[in] border The nine patch border for the image. + * + * @deprecated Use Control::SetBackground() + */ + void SetBackgroundImage( Image image, const Vector4& border ); + + /** + * @brief Sets the image for the indicator of scroll bar. + * + * @pre The scroll bar actor has been initialised. + * + * The indicator image is resized (stretched according to scale settings), + * to reflect the size of the scroll indicator and minimum/maximum limits + * of the scroll position. + * + * @param[in] image The image of indicator that moves to indicate the current scroll position. */ - void SetBackgroundImage( Image image, const Vector4& border ); + void SetIndicatorImage( Image image ); /** * @brief Sets the image for the indicator of scroll bar. @@ -125,6 +140,8 @@ public: * * @param[in] image The image of indicator that moves to indicate the current scroll position. * @param[in] border The nine patch border for the image. + * + * @deprecated Use the new 9-patch API */ void SetIndicatorImage( Image image, const Vector4& border );