X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fshader-effects%2Fbouncing-effect.h;h=655f0c6411f8be726ae97117271be26117a5d1c4;hb=91c61abfba80ae007ca86fd12f25764395b207b0;hp=f4dac3ea73dddaa62771d23ae19445c7cc929fe6;hpb=57869973578f6a0b0f836d396c7232ddb8302c6b;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/shader-effects/bouncing-effect.h b/dali-toolkit/public-api/shader-effects/bouncing-effect.h index f4dac3e..655f0c6 100644 --- a/dali-toolkit/public-api/shader-effects/bouncing-effect.h +++ b/dali-toolkit/public-api/shader-effects/bouncing-effect.h @@ -2,7 +2,7 @@ #define __DALI_TOOLKIT_SHADER_EFFECT_BOUNCING_H__ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2015 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. @@ -33,7 +33,7 @@ namespace Toolkit * Usage Example: * * // Create the an imageActor, set shader effect, and add it to the stage - * ImageActor imageActor = ImageActor::New( BitmapImage::New( 1, 1 ) ); + * ImageActor imageActor = ImageActor::New( BufferImage::New( 1, 1 ) ); * imageActor.SetSize(720.f,58.f); * Toolkit::BouncingEffect bouncingEffect = Toolkit::BouncingEffect::New( Vector4(0.f,1.f,1.f,0.5f) ); * imageActor.SetShaderEffect( bouncingEffect ); @@ -43,7 +43,7 @@ namespace Toolkit * // Start the animation * Animation animation = Animation::New(1.f); * animation.AnimateTo( Property( bouncingEffect, bouncingEffect.GetProgressRatePropertyName() ), - * 1.f, AlphaFunctions::Bounce ); + * 1.f, AlphaFunction::BOUNCE ); * animation.Play(); */ class DALI_IMPORT_API BouncingEffect : public ShaderEffect