Configurable anchor point and parent origin of the items in an ItemView control
[platform/core/uifw/dali-toolkit.git] / base / dali-toolkit / public-api / controls / scrollable / item-view / item-view.cpp
index d9f856e..c41fd61 100644 (file)
@@ -227,6 +227,27 @@ void ItemView::ReplaceItems(const ItemContainer& replacementItems, float duratio
   GetImpl(*this).ReplaceItems( replacementItems, durationSeconds );
 }
 
+
+void ItemView::SetItemsParentOrigin( const Vector3& parentOrigin )
+{
+  GetImpl(*this).SetItemsParentOrigin( parentOrigin );
+}
+
+Vector3 ItemView::GetItemsParentOrigin() const
+{
+  return GetImpl(*this).GetItemsParentOrigin();
+}
+
+void ItemView::SetItemsAnchorPoint( const Vector3& anchorPoint )
+{
+  GetImpl(*this).SetItemsAnchorPoint(anchorPoint);
+}
+
+Vector3 ItemView::GetItemsAnchorPoint() const
+{
+  return GetImpl(*this).GetItemsAnchorPoint();
+}
+
 } // namespace Toolkit
 
 } // namespace Dali