#ifndef UI_VIEWS_EXAMPLES_RADIO_BUTTON_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_RADIO_BUTTON_EXAMPLE_H_
#include <string>
#include "base/macros.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/examples/example_base.h"
namespace views {
class LabelButton;
class RadioButton;
namespace examples {
class VIEWS_EXAMPLES_EXPORT RadioButtonExample : public ExampleBase,
public ButtonListener {
public:
RadioButtonExample();
virtual ~RadioButtonExample();
virtual void CreateExampleView(View* container) OVERRIDE;
private:
virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE;
RadioButton* radio_buttons_[3];
LabelButton* select_;
LabelButton* status_;
int count_;
DISALLOW_COPY_AND_ASSIGN(RadioButtonExample);
};
}
}
#endif