X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fscrollable%2Fscroll-view%2Fscroll-overshoot-indicator-impl.h;h=a3b5292992fd7f51c74d753e3bb4a98072e15591;hb=73e02f6f3ea83cbdf3d894a7d067c4dafc0ac54d;hp=f19e39c573adb56dba1f77ec843135dad158b053;hpb=2ddfbb9e23a7c3fc30e604236c41e0ef6d2ed6a2;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-overshoot-indicator-impl.h b/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-overshoot-indicator-impl.h index f19e39c..a3b5292 100644 --- a/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-overshoot-indicator-impl.h +++ b/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-overshoot-indicator-impl.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_INTERNAL_SCROLL_OVERSHOOT_INDICATOR_H__ -#define __DALI_TOOLKIT_INTERNAL_SCROLL_OVERSHOOT_INDICATOR_H__ +#ifndef DALI_TOOLKIT_INTERNAL_SCROLL_OVERSHOOT_INDICATOR_H +#define DALI_TOOLKIT_INTERNAL_SCROLL_OVERSHOOT_INDICATOR_H /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -76,11 +76,6 @@ public: void Reset(); /** - * Clears the overshoot - */ - void ClearOvershoot(); - - /** * Create an initialized ScrollOvershootIndicator * * @return A pointer to the created ScrollOvershootIndicator. @@ -190,17 +185,17 @@ public: /** * @copydoc ScrollOvershootEffect::Apply */ - virtual void Apply(); + void Apply() override; /** * @copydoc ScrollOvershootEffect::Remove */ - virtual void Remove( Scrollable& scrollable ); + void Remove( Scrollable& scrollable ) override; /** * @copydoc ScrollOvershootEffect::Reset */ - virtual void Reset(); + void Reset() override; /** * @copydoc ScrollOvershootEffect::UpdatePropertyNotifications @@ -256,8 +251,9 @@ private: PropertyNotification mOvershootDecreaseNotification;///< notification used to inform as overshoot decreases Property::Index mOvershootProperty; ///< index of the overshoot property in the scrollable actor Property::Index mEffectOvershootProperty; ///< index of the effect's overshoot property - float mOvershoot; ///< last overshoot value as detected by notifications - unsigned short mAnimationStateFlags; ///< contains flags indicating the current state of the overshoot animation + float mOvershoot; ///< last overshoot value as detected by notifications + Vector2 mOvershootSize; ///< The size of the overshoot effect + unsigned short mAnimationStateFlags; ///< contains flags indicating the current state of the overshoot animation }; } // namespace Internal @@ -266,4 +262,4 @@ private: } // namespace Dali -#endif // __DALI_TOOLKIT_INTERNAL_SCROLL_OVERSHOOT_INDICATOR_H__ +#endif // DALI_TOOLKIT_INTERNAL_SCROLL_OVERSHOOT_INDICATOR_H