X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fscrollable%2Fbouncing-effect-actor.h;h=5e33a832a99ce97f3c020935542cc1603e2d86b2;hp=1eb77253f646ddc0e8f64d74f17bc4e2318333cc;hb=b1e8521ad77e7b4e62b59613b2edef64429130e9;hpb=7011817795c4ae23533c8e920929c02718d04d79 diff --git a/dali-toolkit/internal/controls/scrollable/bouncing-effect-actor.h b/dali-toolkit/internal/controls/scrollable/bouncing-effect-actor.h index 1eb7725..5e33a83 100644 --- a/dali-toolkit/internal/controls/scrollable/bouncing-effect-actor.h +++ b/dali-toolkit/internal/controls/scrollable/bouncing-effect-actor.h @@ -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