mirror of https://github.com/bsnes-emu/bsnes.git
26 lines
536 B
C++
26 lines
536 B
C++
@interface CocoaRadioItem : NSMenuItem {
|
|
@public
|
|
phoenix::RadioItem* radioItem;
|
|
}
|
|
-(id) initWith:(phoenix::RadioItem&)radioItem;
|
|
-(void) activate;
|
|
@end
|
|
|
|
namespace phoenix {
|
|
|
|
struct pRadioItem : public pAction {
|
|
RadioItem& radioItem;
|
|
CocoaRadioItem* cocoaRadioItem = nullptr;
|
|
|
|
bool checked();
|
|
void setChecked();
|
|
void setGroup(const group<RadioItem>& group);
|
|
void setText(const string& text);
|
|
|
|
pRadioItem(RadioItem& radioItem) : pAction(radioItem), radioItem(radioItem) {}
|
|
void constructor();
|
|
void destructor();
|
|
};
|
|
|
|
}
|