X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=examples%2Fline-mesh%2Fline-mesh-example.cpp;h=3d1d2db325797bb7f8ad1197c7729e7adcdb45e8;hb=4f818cd12c9bf2773d44e5cfdc2fc0a344abf7f5;hp=ff3aace3e713adfe740a36cb3a0504c25e3affbd;hpb=708a5e016f973900a20a885914d3b70741fa80d9;p=platform%2Fcore%2Fuifw%2Fdali-demo.git diff --git a/examples/line-mesh/line-mesh-example.cpp b/examples/line-mesh/line-mesh-example.cpp index ff3aace..3d1d2db 100644 --- a/examples/line-mesh/line-mesh-example.cpp +++ b/examples/line-mesh/line-mesh-example.cpp @@ -95,7 +95,7 @@ Geometry CreateGeometry() pentagonVertexFormat["aPosition1"] = Property::VECTOR2; pentagonVertexFormat["aPosition2"] = Property::VECTOR2; pentagonVertexFormat["aColor"] = Property::VECTOR3; - PropertyBuffer pentagonVertices = PropertyBuffer::New( pentagonVertexFormat ); + VertexBuffer pentagonVertices = VertexBuffer::New( pentagonVertexFormat ); pentagonVertices.SetData(pentagonVertexData, 5); @@ -310,7 +310,7 @@ public: void OnKeyEvent(const KeyEvent& event) { - if(event.state == KeyEvent::Down) + if(event.GetState() == KeyEvent::DOWN) { if( IsKey( event, Dali::DALI_KEY_ESCAPE) || IsKey( event, Dali::DALI_KEY_BACK) ) {