const float ScrollView::DEFAULT_SLOW_SNAP_ANIMATION_DURATION(0.5f);
const float ScrollView::DEFAULT_FAST_SNAP_ANIMATION_DURATION(0.25f);
-const float ScrollView::DEFAULT_SNAP_OVERSHOOT_DURATION(1.0f);
+const float ScrollView::DEFAULT_SNAP_OVERSHOOT_DURATION(0.5f);
const float ScrollView::DEFAULT_MAX_OVERSHOOT(100.0f); // 100 pixels
const float ScrollView::DEFAULT_AXIS_AUTO_LOCK_GRADIENT(0.36f);
GetImpl(*this).SetRefreshInterval(milliseconds);
}
+int ScrollView::GetScrollUpdateDistance() const
+{
+ return GetImpl(*this).GetScrollUpdateDistance();
+}
+
+void ScrollView::SetScrollUpdateDistance(int distance)
+{
+ GetImpl(*this).SetScrollUpdateDistance(distance);
+}
+
bool ScrollView::GetAxisAutoLock() const
{
return GetImpl(*this).GetAxisAutoLock();
GetImpl(*this).SetFlickSpeedCoefficient(speed);
}
+Vector2 ScrollView::GetMinimumDistanceForFlick() const
+{
+ return GetImpl(*this).GetMinimumDistanceForFlick();
+}
+
+void ScrollView::SetMinimumDistanceForFlick( const Vector2& distance )
+{
+ GetImpl(*this).SetMinimumDistanceForFlick(distance);
+}
+
+float ScrollView::GetMinimumSpeedForFlick() const
+{
+ return GetImpl(*this).GetMinimumSpeedForFlick();
+}
+
+void ScrollView::SetMinimumSpeedForFlick( float speed )
+{
+ GetImpl(*this).SetMinimumSpeedForFlick(speed);
+}
+
float ScrollView::GetMaxFlickSpeed() const
{
return GetImpl(*this).GetMaxFlickSpeed();
return GetImpl(*this).GetCurrentScrollPosition();
}
+void ScrollView::SetScrollPosition(const Vector3& position)
+{
+ GetImpl(*this).SetScrollPosition(position);
+}
+
Vector3 ScrollView::GetCurrentScrollScale() const
{
return GetImpl(*this).GetCurrentScrollScale();