X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fscrollable%2Fscrollable-impl.h;h=72f710afb09dc8ed950923ea622c98b622bafeb0;hb=26efc210fc636e51a4d3df9ae7fbcc1d2a8bac40;hp=0d5d045fb5084f467c6d11d80d89bdb26b6f3c9d;hpb=926ebd2d9905f0eb6f255b4a6e467ad8fca9e0f8;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/scrollable/scrollable-impl.h b/dali-toolkit/internal/controls/scrollable/scrollable-impl.h index 0d5d045..72f710a 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. @@ -55,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. @@ -118,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: /** @@ -176,9 +176,9 @@ public: //Signals protected: /** - * Construct a new Scrollable. + * Removed default constructor. */ - Scrollable(); + Scrollable() = delete; /** * @brief Construct a new Scrollable. @@ -252,4 +252,4 @@ inline const Toolkit::Internal::Scrollable& GetImpl(const Toolkit::Scrollable& s } // namespace Dali -#endif // __DALI_TOOLKIT_INTERNAL_SCROLLABLE_H__ +#endif // DALI_TOOLKIT_INTERNAL_SCROLLABLE_H