if(animate)
{
mAnimation = Animation::New( HIDE_POPUP_ANIMATION_DURATION );
- mAnimation.AnimateTo( Property(mRoot, Actor::Property::Scale), Vector3::ZERO, AlphaFunctions::EaseOut );
- mAnimation.AnimateTo( Property(mRoot, Actor::Property::ColorAlpha), 0.0f, AlphaFunctions::EaseOut );
+ mAnimation.AnimateTo( Property(mRoot, Actor::Property::SCALE), Vector3::ZERO, AlphaFunctions::EaseOut );
+ mAnimation.AnimateTo( Property(mRoot, Actor::Property::COLOR_ALPHA), 0.0f, AlphaFunctions::EaseOut );
mAnimation.Play();
mAnimation.FinishedSignal().Connect( this, &TextInputPopup::OnHideFinished );
}
else
{
- mRoot.SetProperty(Actor::Property::Scale, Vector3::ZERO);
- mRoot.SetProperty(Actor::Property::ColorAlpha, 0.0f);
+ mRoot.SetProperty(Actor::Property::SCALE, Vector3::ZERO);
+ mRoot.SetProperty(Actor::Property::COLOR_ALPHA, 0.0f);
mState = StateHidden;
}
}
if(animate)
{
mAnimation = Animation::New( SHOW_POPUP_ANIMATION_DURATION );
- mAnimation.AnimateTo( Property(mRoot, Actor::Property::Scale), Vector3::ONE, AlphaFunctions::EaseOut );
- mAnimation.AnimateTo( Property(mRoot, Actor::Property::ColorAlpha), 1.0f, AlphaFunctions::EaseOut );
+ mAnimation.AnimateTo( Property(mRoot, Actor::Property::SCALE), Vector3::ONE, AlphaFunctions::EaseOut );
+ mAnimation.AnimateTo( Property(mRoot, Actor::Property::COLOR_ALPHA), 1.0f, AlphaFunctions::EaseOut );
mAnimation.Play();
mAnimation.FinishedSignal().Connect( this, &TextInputPopup::OnShowFinished );
}
else
{
- mRoot.SetProperty(Actor::Property::Scale, Vector3::ONE);
- mRoot.SetProperty(Actor::Property::ColorAlpha, 1.0f);
+ mRoot.SetProperty(Actor::Property::SCALE, Vector3::ONE);
+ mRoot.SetProperty(Actor::Property::COLOR_ALPHA, 1.0f);
mState = StateShown;
}
}
} // namespace Toolkit
} // namespace Dali
-