/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
namespace Dali
{
-
namespace Toolkit
{
-
ScrollBar::ScrollBar()
{
}
ScrollBar::ScrollBar(Internal::ScrollBar& implementation)
-: Control( implementation )
+: Control(implementation)
{
}
-ScrollBar::ScrollBar( Dali::Internal::CustomActor* internal )
-: Control( internal )
+ScrollBar::ScrollBar(Dali::Internal::CustomActor* internal)
+: Control(internal)
{
VerifyCustomActorPointer<Internal::ScrollBar>(internal);
}
-ScrollBar::ScrollBar( const ScrollBar& handle )
-: Control( handle )
+ScrollBar::ScrollBar(const ScrollBar& handle)
+: Control(handle)
{
}
-ScrollBar& ScrollBar::operator=( const ScrollBar& scrollBar )
+ScrollBar& ScrollBar::operator=(const ScrollBar& scrollBar)
{
- if( &scrollBar != this )
+ if(&scrollBar != this)
{
- Control::operator=( scrollBar );
+ Control::operator=(scrollBar);
}
return *this;
}
return Internal::ScrollBar::New(direction);
}
-ScrollBar ScrollBar::DownCast( BaseHandle handle )
+ScrollBar ScrollBar::DownCast(BaseHandle handle)
{
return Control::DownCast<ScrollBar, Internal::ScrollBar>(handle);
}
{
}
-void ScrollBar::SetScrollPropertySource( Handle handle, Dali::Property::Index propertyScrollPosition, Dali::Property::Index propertyMinScrollPosition, Dali::Property::Index propertyMaxScrollPosition, Dali::Property::Index propertyScrollContentSize )
+void ScrollBar::SetScrollPropertySource(Handle handle, Dali::Property::Index propertyScrollPosition, Dali::Property::Index propertyMinScrollPosition, Dali::Property::Index propertyMaxScrollPosition, Dali::Property::Index propertyScrollContentSize)
{
GetImpl(*this).SetScrollPropertySource(handle, propertyScrollPosition, propertyMinScrollPosition, propertyMaxScrollPosition, propertyScrollContentSize);
}
-void ScrollBar::SetScrollIndicator( Actor indicator )
+void ScrollBar::SetScrollIndicator(Actor indicator)
{
GetImpl(*this).SetScrollIndicator(indicator);
}
return GetImpl(*this).GetScrollIndicator();
}
-void ScrollBar::SetScrollPositionIntervals( const Dali::Vector<float>& positions )
+void ScrollBar::SetScrollPositionIntervals(const Dali::Vector<float>& positions)
{
GetImpl(*this).SetScrollPositionIntervals(positions);
}
return GetImpl(*this).GetScrollPositionIntervals();
}
-void ScrollBar::SetScrollDirection( ScrollBar::Direction direction )
+void ScrollBar::SetScrollDirection(ScrollBar::Direction direction)
{
GetImpl(*this).SetScrollDirection(direction);
}
return GetImpl(*this).GetScrollDirection();
}
-void ScrollBar::SetIndicatorHeightPolicy( ScrollBar::IndicatorHeightPolicy policy )
+void ScrollBar::SetIndicatorHeightPolicy(ScrollBar::IndicatorHeightPolicy policy)
{
GetImpl(*this).SetIndicatorHeightPolicy(policy);
}
return GetImpl(*this).GetIndicatorHeightPolicy();
}
-void ScrollBar::SetIndicatorFixedHeight( float height )
+void ScrollBar::SetIndicatorFixedHeight(float height)
{
GetImpl(*this).SetIndicatorFixedHeight(height);
}
return GetImpl(*this).GetIndicatorFixedHeight();
}
-void ScrollBar::SetIndicatorShowDuration( float durationSeconds )
+void ScrollBar::SetIndicatorShowDuration(float durationSeconds)
{
GetImpl(*this).SetIndicatorShowDuration(durationSeconds);
}
return GetImpl(*this).GetIndicatorShowDuration();
}
-void ScrollBar::SetIndicatorHideDuration( float durationSeconds )
+void ScrollBar::SetIndicatorHideDuration(float durationSeconds)
{
GetImpl(*this).SetIndicatorHideDuration(durationSeconds);
}