X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=base%2Fdali-toolkit%2Fpublic-api%2Fcontrols%2Fscrollable%2Fscrollable.h;h=d357b8a72a7c57a3ea3b7502cd0df186d4689324;hb=afe860706b10a9fdaeeb37c6c8fca1e0f50b0b37;hp=7c0af4e2e31f3f561a3d6750d32857fec8558971;hpb=c7062d11d6939c5d83bac00b01cd17155c76a48a;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/base/dali-toolkit/public-api/controls/scrollable/scrollable.h b/base/dali-toolkit/public-api/controls/scrollable/scrollable.h index 7c0af4e..d357b8a 100644 --- a/base/dali-toolkit/public-api/controls/scrollable/scrollable.h +++ b/base/dali-toolkit/public-api/controls/scrollable/scrollable.h @@ -101,6 +101,7 @@ public: /// @name Properties /** @{ */ static const Property::Index PROPERTY_OVERSHOOT_EFFECT_COLOR; ///< Property, name "overshoot-effect-color", @see SetOvershootEffectColor(), type VECTOR4 + static const Property::Index PROPERTY_OVERSHOOT_ANIMATION_SPEED; ///< Property, name "overshoot-animation-speed", @see SetOvershootAnimationSpeed(), type FLOAT /** @} */ /// @name Signals @@ -219,6 +220,19 @@ public: */ Vector4 GetOvershootEffectColor() const; + /** + * @brief Set the speed of overshoot animation in pixels per second. + * When the speed is not greater than 0, the overshoot is set instantly with no animation. + * @param[in] pixelsPerSecond The speed of the overshoot animation. + */ + void SetOvershootAnimationSpeed( float pixelsPerSecond ); + + /** + * @brief Get the speed of overshoot animation in pixels per second. + * @return The speed of the overshoot animation. + */ + float GetOvershootAnimationSpeed() const; + public: // Not intended for application developers /**