#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.
* 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 );
* // 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