Revert "Updates following rename of PropertyBuffer"
[platform/core/uifw/dali-demo.git] / examples / bezier-curve / bezier-curve-example.cpp
index c12abd1..677152e 100644 (file)
@@ -300,7 +300,7 @@ public:
 
     Property::Map curveVertexFormat;
     curveVertexFormat["aPosition"] = Property::VECTOR2;
-    mCurveVertices = VertexBuffer::New( curveVertexFormat );
+    mCurveVertices = PropertyBuffer::New( curveVertexFormat );
     Vector2 vertexData[2] = { Vector2(-0.5f, 0.5f), Vector2( 0.5f, -0.5f ) };
     mCurveVertices.SetData( vertexData, 2 );
 
@@ -334,7 +334,7 @@ public:
     return actor;
   }
 
-  Actor CreateControlLine( VertexBuffer vertexBuffer )
+  Actor CreateControlLine( PropertyBuffer vertexBuffer )
   {
     Actor line = Actor::New();
     line.SetResizePolicy( ResizePolicy::FILL_TO_PARENT, Dimension::ALL_DIMENSIONS );
@@ -364,8 +364,8 @@ public:
 
     Property::Map lineVertexFormat;
     lineVertexFormat["aPosition"] = Property::VECTOR2;
-    mLine1Vertices = VertexBuffer::New( lineVertexFormat );
-    mLine2Vertices = VertexBuffer::New( lineVertexFormat );
+    mLine1Vertices = PropertyBuffer::New( lineVertexFormat );
+    mLine2Vertices = PropertyBuffer::New( lineVertexFormat );
 
     mControlLine1 = CreateControlLine( mLine1Vertices );
     mControlLine2 = CreateControlLine( mLine2Vertices );
@@ -595,9 +595,9 @@ private:
   Timer mTimer;
   Animation mDragAnimation;
   Animation mBezierAnimation;
-  VertexBuffer mCurveVertices;
-  VertexBuffer mLine1Vertices;
-  VertexBuffer mLine2Vertices;
+  PropertyBuffer mCurveVertices;
+  PropertyBuffer mLine1Vertices;
+  PropertyBuffer mLine2Vertices;
   Vector2 mRelativeDragPoint;
   Vector2 mLastControlPointPosition1;
   Vector2 mLastControlPointPosition2;