projects
/
platform
/
core
/
uifw
/
dali-demo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Updates following rename of PropertyBuffer"
[platform/core/uifw/dali-demo.git]
/
examples
/
rendering-line
/
rendering-line.cpp
diff --git
a/examples/rendering-line/rendering-line.cpp
b/examples/rendering-line/rendering-line.cpp
index
abb4544
..
1f421ad
100644
(file)
--- a/
examples/rendering-line/rendering-line.cpp
+++ b/
examples/rendering-line/rendering-line.cpp
@@
-113,7
+113,7
@@
public:
*/
void OnKeyEvent( const KeyEvent& event )
{
*/
void OnKeyEvent( const KeyEvent& event )
{
- if( event.
GetState()
== KeyEvent::Down )
+ if( event.
state
== KeyEvent::Down )
{
if ( IsKey( event, Dali::DALI_KEY_ESCAPE ) || IsKey( event, Dali::DALI_KEY_BACK ) )
{
{
if ( IsKey( event, Dali::DALI_KEY_ESCAPE ) || IsKey( event, Dali::DALI_KEY_BACK ) )
{
@@
-133,8
+133,8
@@
public:
Vector2( 1.0f, 1.0f )
};
Vector2( 1.0f, 1.0f )
};
-
VertexBuffer vertexBuffer = Vertex
Buffer::New( Property::Map()
- .Add( "aPosition", Property::VECTOR2 ) );
+
PropertyBuffer vertexBuffer = Property
Buffer::New( Property::Map()
+
.Add( "aPosition", Property::VECTOR2 ) );
vertexBuffer.SetData( vertices, sizeof(vertices) / sizeof(Vector2) );
mGeometry = Geometry::New();
vertexBuffer.SetData( vertices, sizeof(vertices) / sizeof(Vector2) );
mGeometry = Geometry::New();