X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fbuttons%2Fradio-button-impl.h;h=3923d99abe0c837930031093f0f9ad2d0083add0;hp=630e1a3c3587dade88510d4236f335e25138470f;hb=b1e8521ad77e7b4e62b59613b2edef64429130e9;hpb=e5ca10134c73ca0588f893adde82694ad907dd8d diff --git a/dali-toolkit/internal/controls/buttons/radio-button-impl.h b/dali-toolkit/internal/controls/buttons/radio-button-impl.h index 630e1a3..3923d99 100644 --- a/dali-toolkit/internal/controls/buttons/radio-button-impl.h +++ b/dali-toolkit/internal/controls/buttons/radio-button-impl.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_INTERNAL_RADIO_BUTTON_H__ -#define __DALI_TOOLKIT_INTERNAL_RADIO_BUTTON_H__ +#ifndef DALI_TOOLKIT_INTERNAL_RADIO_BUTTON_H +#define DALI_TOOLKIT_INTERNAL_RADIO_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. @@ -23,7 +23,7 @@ // INTERNAL INCLUDES #include -#include +#include #include "button-impl.h" namespace Dali @@ -69,19 +69,14 @@ private: // From Button virtual void OnInitialize(); /** - * @copydoc Toolkit::Internal::Button::OnButtonUp + * @copydoc Toolkit::Internal::Button::OnStateChange */ - virtual void OnButtonUp(); + virtual void OnStateChange( State newState ); /** - * @copydoc Toolkit::Internal::Button::OnSelected + * @copydoc Toolkit::Internal::Button::OnToggleReleased */ - virtual void OnSelected(); - - /** - * @copydoc Toolkit::Internal::Button::OnLabelSet - */ - virtual void OnLabelSet( bool noPadding ); + virtual bool OnToggleReleased(); private: @@ -117,4 +112,4 @@ inline const Toolkit::Internal::RadioButton& GetImplementation(const Toolkit::Ra } // namespace Toolkit } // namespace Dali -#endif // __DALI_TOOLKIT_INTERNAL_RADIO_BUTTON_H__ +#endif // DALI_TOOLKIT_INTERNAL_RADIO_BUTTON_H