X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=examples%2Fanimated-shapes%2Fanimated-shapes-example.cpp;h=b7454ba3abf44f42d4de9b076afae8e35f024f8e;hb=708a5e016f973900a20a885914d3b70741fa80d9;hp=d074ad37f1d13e1721f06ef851a0a74ede9775a9;hpb=b2ea1966ee0d928bc27512daa6ea12a62a4d6c94;p=platform%2Fcore%2Fuifw%2Fdali-demo.git diff --git a/examples/animated-shapes/animated-shapes-example.cpp b/examples/animated-shapes/animated-shapes-example.cpp index d074ad3..b7454ba 100644 --- a/examples/animated-shapes/animated-shapes-example.cpp +++ b/examples/animated-shapes/animated-shapes-example.cpp @@ -195,7 +195,7 @@ public: //Create a vertex buffer for vertex positions and texture coordinates Dali::Property::Map vertexFormat; vertexFormat["aCoefficient"] = Dali::Property::VECTOR3; - Dali::VertexBuffer vertexBuffer = Dali::VertexBuffer::New( vertexFormat ); + Dali::PropertyBuffer vertexBuffer = Dali::PropertyBuffer::New( vertexFormat ); vertexBuffer.SetData( vertexData, sizeof(vertexData)/sizeof(vertexData[0])); //Create the geometry @@ -287,7 +287,7 @@ public: //Create a vertex buffer for vertex positions and texture coordinates Dali::Property::Map vertexFormat; vertexFormat["aCoefficient"] = Dali::Property::VECTOR3; - Dali::VertexBuffer vertexBuffer = Dali::VertexBuffer::New( vertexFormat ); + Dali::PropertyBuffer vertexBuffer = Dali::PropertyBuffer::New( vertexFormat ); vertexBuffer.SetData( vertexData, sizeof(vertexData)/sizeof(vertexData[0])); //Create the geometry @@ -388,7 +388,7 @@ public: //Create a vertex buffer for vertex positions and texture coordinates Dali::Property::Map vertexFormat; vertexFormat["aCoefficient"] = Dali::Property::VECTOR3; - Dali::VertexBuffer vertexBuffer = Dali::VertexBuffer::New( vertexFormat ); + Dali::PropertyBuffer vertexBuffer = Dali::PropertyBuffer::New( vertexFormat ); vertexBuffer.SetData( vertexData, sizeof(vertexData)/sizeof(vertexData[0])); //Create the geometry @@ -445,7 +445,7 @@ public: */ void OnKeyEvent(const KeyEvent& event) { - if( event.GetState() == KeyEvent::Down && (IsKey( event, DALI_KEY_ESCAPE) || IsKey( event, DALI_KEY_BACK )) ) + if( event.state == KeyEvent::Down && (IsKey( event, DALI_KEY_ESCAPE) || IsKey( event, DALI_KEY_BACK )) ) { mApplication.Quit(); }