Fix compile error. Non initialized variable.
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / scrollable / bouncing-effect-actor.h
index 1eb7725..5e33a83 100644 (file)
@@ -41,11 +41,11 @@ namespace Internal
  *  Actor bounceActor = CreateBouncingEffectActor( bouncePropertyIndex );
 
  *  // set size and color
- *  bounceActor.SetSize(720.f, 42.f );
- *  bounceActor.SetColor( Vector4( 0.0,0.64f,0.85f,0.25f ) );
+ *  bounceActor.SetProperty( Actor::Property::SIZE, Vector2(720.f, 42.f );
+ *  bounceActor.SetProperty( Actor::Property::COLOR, Vector4( 0.0,0.64f,0.85f,0.25f ) );
  *
  *  // add to stage
- *  bounceActor.SetParentOrigin(ParentOrigin::CENTER);
+ *  bounceActor.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER );
  *  Stage::GetCurrent().Add(bounceActor);
 
  *  // start the bouncing animation