Add new API to ScrollBar to set background and indicator images.
[platform/core/uifw/dali-toolkit.git] / base / dali-toolkit / public-api / controls / scroll-bar / scroll-bar.cpp
index b0279de..c1b8ab4 100755 (executable)
@@ -73,6 +73,11 @@ void ScrollBar::SetBackgroundImage( Image image, const Vector4& border )
   GetImpl(*this).SetBackgroundImage(image, border);
 }
 
+void ScrollBar::SetIndicatorImage( Image image )
+{
+  GetImpl(*this).SetIndicatorImage(image);
+}
+
 void ScrollBar::SetIndicatorImage( Image image, const Vector4& border )
 {
   GetImpl(*this).SetIndicatorImage(image, border);
@@ -88,6 +93,26 @@ void ScrollBar::SetPositionNotifications( const std::vector<float>& positions )
   GetImpl(*this).SetPositionNotifications(positions);
 }
 
+void ScrollBar::SetIndicatorHeightPolicy( ScrollBar::IndicatorHeightPolicy policy )
+{
+  GetImpl(*this).SetIndicatorHeightPolicy(policy);
+}
+
+ScrollBar::IndicatorHeightPolicy ScrollBar::GetIndicatorHeightPolicy()
+{
+  return GetImpl(*this).GetIndicatorHeightPolicy();
+}
+
+void ScrollBar::SetIndicatorFixedHeight( float height )
+{
+  GetImpl(*this).SetIndicatorFixedHeight(height);
+}
+
+float ScrollBar::GetIndicatorFixedHeight()
+{
+  return GetImpl(*this).GetIndicatorFixedHeight();
+}
+
 void ScrollBar::Show()
 {
   GetImpl(*this).Show();