X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=capi%2Fdali-toolkit%2Fpublic-api%2Fcontrols%2Fscrollable%2Fscrollable.h;h=1239fc2b321ef88f33c097e9f32f20f24561647f;hp=5ecec0da79de69c99615db83362a85842ab7aac5;hb=a1a30b337ce9bf681f3738e43d1b6846732d5e1b;hpb=b422e5389b5b78d6037865c77453ab2fb5e47a0d diff --git a/capi/dali-toolkit/public-api/controls/scrollable/scrollable.h b/capi/dali-toolkit/public-api/controls/scrollable/scrollable.h index 5ecec0d..1239fc2 100644 --- a/capi/dali-toolkit/public-api/controls/scrollable/scrollable.h +++ b/capi/dali-toolkit/public-api/controls/scrollable/scrollable.h @@ -103,11 +103,18 @@ public: static const std::string SCROLL_POSITION_MAX_PROPERTY_NAME; ///< Property, name "scroll-position-max", type VECTOR3 static const std::string SCROLL_DIRECTION_PROPERTY_NAME; ///< Property, name "scroll-direction", type VECTOR2 - //Signal Names + /// @name Properties + /** @{ */ + static const Property::Index PROPERTY_OVERSHOOT_EFFECT_COLOR; ///< Property, name "overshoot-effect-color", @see SetOvershootEffectColor(), type VECTOR4 + /** @} */ + + /// @name Signals + /** @{ */ static const char* const SIGNAL_SCROLL_STARTED; ///< "scroll-started"; static const char* const SIGNAL_SCROLL_COMPLETED; ///< "scroll-completed"; static const char* const SIGNAL_SCROLL_UPDATED; ///< "scroll-updated"; static const char* const SIGNAL_SCROLL_CLAMPED; ///< "scroll-clamped"; + /** @} */ public: @@ -204,6 +211,19 @@ public: */ void DisableScrollComponent(Scrollable::ScrollComponentType type); + /** + * @brief Set the color of the overshoot effect. + * + * @param[in] color The color of the overshoot effect. + */ + void SetOvershootEffectColor( const Vector4& color ); + + /** + * @brief Get the color of the overshoot effect. + * @return The color of the overshoot effect. + */ + Vector4 GetOvershootEffectColor() const; + public: // Not intended for application developers /**