X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fbuttons%2Fcheck-box-button-impl.h;h=25945d2ea7f8eb6abad77f38c5ce76ff1f38b966;hp=aacf221b5d58aaa7e9d87e717e77f65c5d4e270d;hb=efc136204e9a4460a7a2421e673c873e23974a80;hpb=daa91492858a758d4ac0cfb8a11e05e5b00e849b diff --git a/dali-toolkit/internal/controls/buttons/check-box-button-impl.h b/dali-toolkit/internal/controls/buttons/check-box-button-impl.h index aacf221..25945d2 100644 --- a/dali-toolkit/internal/controls/buttons/check-box-button-impl.h +++ b/dali-toolkit/internal/controls/buttons/check-box-button-impl.h @@ -20,12 +20,11 @@ // EXTERNAL INCLUDES #include -#include #include - // INTERNAL INCLUDES #include +#include #include "button-impl.h" @@ -79,41 +78,24 @@ private: // From Button virtual void OnLabelSet(); /** - * @copydoc Toolkit::Internal::Button::OnSelected() - */ - virtual bool OnSelected(); - - /** * @copydoc Toolkit::Internal::Button::OnDisabled() */ - virtual bool OnDisabled(); - - /** - * @copydoc Toolkit::Internal::Button::StopAllAnimations() - */ - virtual void StopAllAnimations(); - -private: + virtual void OnDisabled(); /** - * Adds the actor to the transition animation. - * It creates a transition animation if needed and starts the animation. - * @param[in] actor The actor. + * @copydoc Toolkit::Internal::Button::PrepareForTranstionIn( Actor actor ) */ - void StartTransitionAnimation( Actor& actor ); + virtual void PrepareForTranstionIn( Actor actor ); /** - * Stops the transition animation. - * @param[in] remove If true, removes the fadeout actor from root. + * @copydoc Toolkit::Internal::Button::PrepareForTranstionOut( Actor actor ) */ - void StopTransitionAnimation( bool remove = true ); - - // slots + virtual void PrepareForTranstionOut( Actor actor ); /** - * Called when the transition animation finishes. + * @copydoc Toolkit::Internal::Button::OnTransitionInImage( Actor actor ) */ - void TransitionAnimationFinished( Dali::Animation& source ); + virtual void OnTransitionIn( Actor actor ); private: @@ -124,7 +106,6 @@ private: CheckBoxButton& operator=( const CheckBoxButton& ); private: - Animation mTransitionAnimation; ///< Animation used in the state transitions. ShaderEffect mTickUVEffect; ///< ImageRegionEffect to expand the tick across };