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=f78ab9f65f44bf51459c0f35887c73abd676935e;hp=0fd1b69c04d5fa67f055e40f0644324a79b6fede;hb=5e937a6322849b76d49d5b3f41cb5d91c94acd3e;hpb=c8a0c614eaa58cb6c9aa39a8e44cf027d4fe71eb diff --git a/dali-toolkit/internal/controls/scrollable/bouncing-effect-actor.h b/dali-toolkit/internal/controls/scrollable/bouncing-effect-actor.h index 0fd1b69..f78ab9f 100644 --- a/dali-toolkit/internal/controls/scrollable/bouncing-effect-actor.h +++ b/dali-toolkit/internal/controls/scrollable/bouncing-effect-actor.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_INTERNAL_BOUNCING_EFFECT_ACTOR_H__ -#define __DALI_TOOLKIT_INTERNAL_BOUNCING_EFFECT_ACTOR_H__ +#ifndef DALI_TOOLKIT_INTERNAL_BOUNCING_EFFECT_ACTOR_H +#define DALI_TOOLKIT_INTERNAL_BOUNCING_EFFECT_ACTOR_H /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2016 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -42,15 +42,15 @@ namespace Internal * // 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::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 * Animation anim = Animation::New(2.0f); - * anim.AnimateTo( Property( bounceActor, bouncePropertyIndex ), 1.f, AlphaFunctions::Sin ); + * anim.AnimateTo( Property( bounceActor, bouncePropertyIndex ), 1.f, AlphaFunction::SIN ); * anim.Play(); * @endcode * @@ -66,4 +66,4 @@ Actor CreateBouncingEffectActor( Property::Index& bouncePropertyIndex); } // namespace Dali -#endif /* __DALI_TOOLKIT_INTERNAL_BOUNCING_EFFECT_ACTOR_H__ */ +#endif // DALI_TOOLKIT_INTERNAL_BOUNCING_EFFECT_ACTOR_H