X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fscrollable%2Fscrollable-impl.h;h=9ffdc8ed6e1708a066046c986deada24dd1c0307;hp=97b31076361b3cba22cf3208f36e7efdc7dcf128;hb=b694e7e2ae624e206e1548b1a863c554eb9cd4d7;hpb=7cb4bfa33768acfc53444871387eef07b72b2066 diff --git a/dali-toolkit/internal/controls/scrollable/scrollable-impl.h b/dali-toolkit/internal/controls/scrollable/scrollable-impl.h index 97b3107..9ffdc8e 100644 --- a/dali-toolkit/internal/controls/scrollable/scrollable-impl.h +++ b/dali-toolkit/internal/controls/scrollable/scrollable-impl.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_INTERNAL_SCROLLABLE_H__ -#define __DALI_TOOLKIT_INTERNAL_SCROLLABLE_H__ +#ifndef DALI_TOOLKIT_INTERNAL_SCROLLABLE_H +#define DALI_TOOLKIT_INTERNAL_SCROLLABLE_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. @@ -18,6 +18,9 @@ * */ +// EXTERNAL INCLUDES +#include + // INTERNAL INCLUDES #include #include @@ -52,12 +55,6 @@ public: void SetOvershootEnabled(bool enable); /** - * Gets the size of the domain (minimum/maximum extents for each axis to scroll to) - * @return the domain size - */ - virtual Vector2 GetDomainSize() const = 0; - - /** * Adds actor as an Overlay to Scrollable * This method is called by Add-on UI components * such as scroll bars, page indicators. @@ -115,6 +112,12 @@ public: */ const Vector2& GetOvershootSize() const; + /** + * Set the size of the overshoot effect. + * @parm[in] size The size of the overshoot effect + */ + virtual void SetOvershootSize( const Vector2& size ) = 0; + private: /** @@ -212,6 +215,8 @@ protected: float mOvershootAnimationSpeed; ///