25 lines
542 B
C++
25 lines
542 B
C++
#ifndef __MWCXX_WIDGET_RADIOBOX_H__
|
|
#define __MWCXX_WIDGET_RADIOBOX_H__
|
|
|
|
#include <MwCXX/MachDep.h>
|
|
#include <MwCXX/Widget/Base.h>
|
|
|
|
#include <Mw/Widget/RadioBox.h>
|
|
|
|
namespace MwCXX {
|
|
class RadioBox : public MwCXX::Base {
|
|
protected:
|
|
virtual void RegisterHandlers();
|
|
|
|
public:
|
|
RadioBox(MwWidget widget);
|
|
RadioBox(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
|
|
|
int GetChecked();
|
|
void SetChecked(int value);
|
|
|
|
virtual void OnChanged() {};
|
|
};
|
|
}; // namespace MwCXX
|
|
|
|
#endif
|