bsnes/hiro/cocoa/action/menu-radio-item.hpp

26 lines
469 B
C++

#if defined(Hiro_MenuRadioItem)
@interface CocoaMenuRadioItem : NSMenuItem {
@public
hiro::mMenuRadioItem* menuRadioItem;
}
-(id) initWith:(hiro::mMenuRadioItem&)menuRadioItem;
-(void) activate;
@end
namespace hiro {
struct pMenuRadioItem : pAction {
Declare(MenuRadioItem, Action)
auto setChecked() -> void;
auto setGroup(sGroup group) -> void;
auto setText(const string& text) -> void;
CocoaMenuRadioItem* cocoaMenuRadioItem = nullptr;
};
}
#endif