#include <dali/public-api/images/resource-image.h>
// INTERNAL INCLUDES
-#include <dali-toolkit/public-api/shader-effects/bubble-effect/color-adjuster.h>
+#include <dali-toolkit/devel-api/shader-effects/bubble-effect/color-adjuster.h>
namespace Dali
{
Image shapeImage,
unsigned int maximumNumberOfBubble,
const Vector2& bubbleSizeRange )
-: Control( REQUIRES_TOUCH_EVENTS ),
+: Control( ControlBehaviour( REQUIRES_TOUCH_EVENTS ) ),
mMovementArea( movementArea ),
mShapeImage( shapeImage ),
mTotalNumOfBubble( maximumNumberOfBubble ),
unsigned int groupIdx = mCurrentUniform / mNumBubblePerShader;
SetBubbleParameter( mEffect[groupIdx], curUniform, emitPosition, direction, displacement);
animation.AnimateTo( Property( mEffect[groupIdx], mEffect[groupIdx].GetPercentagePropertyName(curUniform) ),
- 1.f, AlphaFunctions::Linear );
+ 1.f, AlphaFunction::LINEAR );
if( mCurrentUniform % mNumShader == 0 )
{
unsigned int uniform = mCurrentUniform / mNumShader;
SetBubbleParameter(mEffectForNoise, uniform, emitPosition, displacement);
animation.AnimateTo( Property( mEffectForNoise, mEffectForNoise.GetPercentagePropertyName(uniform) ),
- 1.f, AlphaFunctions::Linear );
+ 1.f, AlphaFunction::LINEAR );
}
mCurrentUniform = (mCurrentUniform + 1) % mTotalNumOfBubble;
for(unsigned int i=0; i < mNumShader; i++ )
{
animation.AnimateTo( Property( mEffect[i], mEffect[i].GetMagnificationPropertyName() ),
- multiple, AlphaFunctions::EaseOut);
+ multiple, AlphaFunction::EASE_OUT);
}
animation.AnimateTo( Property( mEffectForNoise, mEffectForNoise.GetMagnificationPropertyName() ),
- multiple, AlphaFunctions::EaseOut);
+ multiple, AlphaFunction::EASE_OUT);
animation.Play();
animation.FinishedSignal().Connect(this, &BubbleEmitter::OnExplosionFinished);