X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=base%2Fdali-toolkit%2Fpublic-api%2Fcontrols%2Fscrollable%2Fscrollable.h;h=d357b8a72a7c57a3ea3b7502cd0df186d4689324;hp=7c0af4e2e31f3f561a3d6750d32857fec8558971;hb=421b1cb023ab3a51842d1c7dab553e241c2301d0;hpb=e4f49b8fbc36be9bceb2b227cf784a9d6b4cba2d 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 /**