Remove the dependency between ScrollBar & ItemView
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / public-api / controls / scroll-bar / scroll-bar.h
index 5adb04c..12aa98b 100755 (executable)
@@ -19,7 +19,7 @@
 
 // INTERNAL INCLUDES
 #include <dali/dali.h>
-#include <dali-toolkit/public-api/controls/control.h>
+#include <dali-toolkit/public-api/controls/scrollable/scroll-component.h>
 
 namespace Dali DALI_IMPORT_API
 {
@@ -41,7 +41,7 @@ class ScrollBar;
  * ScrollBar is a UI component that can be added to the scrollable controls
  * indicating the current scroll position of the scrollable content.
  */
-class ScrollBar : public Control
+class ScrollBar : public ScrollComponent
 {
 public:
 
@@ -89,15 +89,6 @@ public:
   static ScrollBar DownCast( BaseHandle handle );
 
   /**
-   * @brief Sets the scroll connector for the scroll bar.
-   *
-   * @pre The scroll bar actor has been initialised.
-   *
-   * @param[in] connector Scroll connector used to connect scrollable container with this ScrollBar
-   */
- void SetScrollConnector( ScrollConnector connector );
-
-  /**
    * @brief Sets the image for the background of scroll indicator.
    *
    * @pre The scroll bar actor has been initialised.