X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fbuttons%2Fcheck-box-button-impl.cpp;h=9554ccbf41c8250e7a48305079cdcdcaf42ee5ab;hb=81805c316a8e2d90ca7ce550e737118113bf153b;hp=b8907f0daf794fccfc5ead1e781105e841e334b3;hpb=e5dbcae1f8ee31b14d675793ab86161eeeefb029;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/buttons/check-box-button-impl.cpp b/dali-toolkit/internal/controls/buttons/check-box-button-impl.cpp index b8907f0..9554ccb 100644 --- a/dali-toolkit/internal/controls/buttons/check-box-button-impl.cpp +++ b/dali-toolkit/internal/controls/buttons/check-box-button-impl.cpp @@ -45,8 +45,6 @@ namespace Internal namespace { -const float ANIMATION_TIME( 0.26f ); // EFL checkbox tick time - Will be replaced by stylable tranisitions - BaseHandle Create() { return Toolkit::CheckBoxButton::New(); @@ -77,55 +75,17 @@ CheckBoxButton::CheckBoxButton() : Button() { SetTogglableButton( true ); - - SetAnimationTime( ANIMATION_TIME ); } CheckBoxButton::~CheckBoxButton() { } -void CheckBoxButton::FadeImageTo( Actor actor , float opacity ) -{ - if( actor ) - { - Dali::Animation transitionAnimation = GetTransitionAnimation(); - - if( transitionAnimation ) - { - transitionAnimation.AnimateTo( Property( actor, Actor::Property::COLOR_ALPHA ), opacity ); - } - } -} - void CheckBoxButton::OnInitialize() { Button::OnInitialize(); } -void CheckBoxButton::PrepareForTransitionIn( Actor actor ) -{ - // Set Toolkit::Button::Property::SELECTED_VISUAL and Toolkit::Button::Property::UNSELECTED_VISUAL to opacity 0 - // Then get and start animation -} - -void CheckBoxButton::PrepareForTransitionOut( Actor actor ) -{ - // Set Toolkit::Button::Property::SELECTED_VISUAL and Toolkit::Button::Property::UNSELECTED_VISUAL to opacity 1 - // Then get and start animation -} - -void CheckBoxButton::OnTransitionIn( Actor actor ) -{ - // Only transition selected and unselected visual, background doesn't change. - // Start Fade animation to 1 -} - -void CheckBoxButton::OnTransitionOut( Actor actor ) -{ - // Only transition selected and unselected visual, background doesn't change. - // Start Fade animation to 0 -} } // namespace Internal