bsnes/higan/phoenix/cocoa/widget/radio-button.hpp

26 lines
562 B
C++
Raw Normal View History

@interface CocoaRadioButton : NSButton {
@public
phoenix::RadioButton *radioButton;
}
-(id) initWith :(phoenix::RadioButton&)radioButton;
@end
namespace phoenix {
struct pRadioButton : public pWidget {
RadioButton &radioButton;
CocoaRadioButton *cocoaRadioButton;
bool checked();
Size minimumSize();
void setChecked();
void setGroup(const set<RadioButton&> &group);
void setText(const string &text);
pRadioButton(RadioButton &radioButton) : pWidget(radioButton), radioButton(radioButton) {}
void constructor();
void destructor();
};
}