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=1012196f73fea185c861b8b5279a68fbffda9956;hp=917f9fe7c8d7663c43e0a89da296b39ad6870f4b;hb=abbf60ed35112186269d2fe93b949eb8abd4283d;hpb=2ec164cd618f93ccafe17b1d0b8ff16401ed4aef diff --git a/dali-toolkit/internal/controls/buttons/radio-button-impl.h b/dali-toolkit/internal/controls/buttons/radio-button-impl.h index 917f9fe..1012196 100644 --- a/dali-toolkit/internal/controls/buttons/radio-button-impl.h +++ b/dali-toolkit/internal/controls/buttons/radio-button-impl.h @@ -19,11 +19,9 @@ */ // EXTERNAL INCLUDES -#include #include // INTERNAL INCLUDES -#include #include #include #include "button-impl.h" @@ -47,72 +45,38 @@ public: /** * Create a new RadioButton. * - * @return A smart-pointer to the newly allocated PushButton. + * @return A smart-pointer to the newly allocated RadioButton. */ static Dali::Toolkit::RadioButton New(); - /** - * Construct a new PushButton. - */ - RadioButton(); - - /** - * Construct a new PushButton with label. - */ - RadioButton( const std::string& label ); +private: /** - * Construct a new PushButton with label. + * Construct a new RadioButton. */ - RadioButton( Actor label ); + RadioButton(); /** * A reference counted object may only be deleted by calling Unreference() */ virtual ~RadioButton(); -public: // From Button - - /** - * @copydoc Toolkit::Internal::Button::SetButtonImage( Actor image ) - */ - virtual void SetButtonImage( Actor image ); - - /** - * @copydoc Toolkit::Internal::Button::SetSelectedImage( Actor image ) - */ - virtual void SetSelectedImage( Actor image ); - private: // From Button /** - * @copydoc Toolkit::Internal::Button::OnButtonInitialize() - */ - virtual void OnButtonInitialize(); - - /** - * @copydoc Toolkit::Internal::Button::OnButtonUp() - */ - virtual void OnButtonUp(); - - /** - * @copydoc Toolkit::Internal::Button::OnSelected() + * @copydoc Toolkit::Internal::Button::OnInitialize */ - virtual void OnSelected( bool selected ); + virtual void OnInitialize(); /** - * @copydoc Toolkit::Internal::Button::OnLabelSet() + * @copydoc Toolkit::Internal::Button::OnStateChange */ - virtual void OnLabelSet(); - -private: + virtual void OnStateChange( State newState ); /** - * @brief Set the image to display - * - * @param[in] image The image to set + * @copydoc Toolkit::Internal::Button::OnToggleReleased */ - void SetImage( Actor image ); + virtual bool OnToggleReleased(); private: @@ -121,11 +85,6 @@ private: // Undefined RadioButton& operator=( const RadioButton& origin ); - -private: - - Toolkit::TableView mLayoutContainer; ///< Container to position button images and labels - }; } // namespace Internal