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=aa990682779dfb13f7af76282c384b1c46215cd7;hp=7f55610f0d748f969693148cac46a7e75270aad1;hb=b694e7e2ae624e206e1548b1a863c554eb9cd4d7;hpb=cd7d41bc8e0a0816da28401207091344fbbe0b2c 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 7f55610..aa99068 100644 --- a/dali-toolkit/internal/controls/buttons/check-box-button-impl.h +++ b/dali-toolkit/internal/controls/buttons/check-box-button-impl.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_INTERNAL_CHECK_BOX_BUTTON_H__ -#define __DALI_TOOLKIT_INTERNAL_CHECK_BOX_BUTTON_H__ +#ifndef DALI_TOOLKIT_INTERNAL_CHECK_BOX_BUTTON_H +#define DALI_TOOLKIT_INTERNAL_CHECK_BOX_BUTTON_H /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 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. @@ -20,11 +20,9 @@ // EXTERNAL INCLUDES #include -#include // INTERNAL INCLUDES #include -#include #include "button-impl.h" @@ -68,51 +66,9 @@ private: // From Button /** - * @copydoc Toolkit::Internal::Button::OnButtonInitialize() + * @copydoc Toolkit::Internal::Button::OnInitialize */ - virtual void OnButtonInitialize(); - - /** - * @copydoc Toolkit::Internal::Button::OnLabelSet() - */ - 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: - - /** - * Adds the actor to the transition animation. - * It creates a transition animation if needed and starts the animation. - * @param[in] actor The actor. - */ - void StartTransitionAnimation( Actor& actor ); - - /** - * Stops the transition animation. - * @param[in] remove If true, removes the fadeout actor from root. - */ - void StopTransitionAnimation( bool remove = true ); - - // slots - - /** - * Called when the transition animation finishes. - */ - void TransitionAnimationFinished( Dali::Animation& source ); + virtual void OnInitialize(); private: @@ -122,9 +78,6 @@ private: // Undefined CheckBoxButton& operator=( const CheckBoxButton& ); -private: - Animation mTransitionAnimation; ///< Animation used in the state transitions. - ImageRegionEffect mTickUVEffect; ///< ImageRegionEffect to expand the tick across }; } // namespace Internal @@ -153,4 +106,4 @@ inline const Toolkit::Internal::CheckBoxButton& GetImplementation( const Toolkit } // namespace Dali -#endif // __DALI_TOOLKIT_INTERNAL_CHECK_BOX_BUTTON_H__ +#endif // DALI_TOOLKIT_INTERNAL_CHECK_BOX_BUTTON_H