X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fscrollable%2Fscroll-view%2Fscroll-view-page-path-effect-impl.cpp;h=f12b873de2611d1b0c9ab946d6afa80b7acafdbf;hp=439dd8f33494ca773400bf5d99c77d5b915af023;hb=36a298758d1b6244b7846a0102b528d76002dbda;hpb=0176f9fd57aa372525893f9c3fff01be3408f2bd diff --git a/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-page-path-effect-impl.cpp b/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-page-path-effect-impl.cpp index 439dd8f..f12b873 100644 --- a/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-page-path-effect-impl.cpp +++ b/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-page-path-effect-impl.cpp @@ -18,7 +18,10 @@ // CLASS HEADER #include -//INTERNAL INCLUDES +// EXTERNAL INCLUDES +#include + +// INTERNAL INCLUDES #include namespace Dali @@ -47,9 +50,10 @@ ScrollViewPagePathEffect::ScrollViewPagePathEffect(Path path, const Vector3& for //Create linear constrainer pointsProperty = Property::Value(Property::ARRAY); - pointsProperty.AppendItem(0.0f); - pointsProperty.AppendItem(1.0f); - pointsProperty.AppendItem(0.0f); + Property::Array* array = pointsProperty.GetArray(); + array->PushBack(0.0f); + array->PushBack(1.0f); + array->PushBack(0.0f); mLinearConstrainer = Dali::LinearConstrainer::New(); mLinearConstrainer.SetProperty( LinearConstrainer::Property::VALUE, pointsProperty ); }