| 1 |
#if defined(Hiro_MenuRadioItem) |
| 2 |
|
| 3 |
@interface CocoaMenuRadioItem : CocoaMenu { |
| 4 |
@public |
| 5 |
hiro::mMenuRadioItem* menuRadioItem; |
| 6 |
} |
| 7 |
-(id) initWith:(hiro::mMenuRadioItem&)menuRadioItem; |
| 8 |
-(void) activate; |
| 9 |
@end |
| 10 |
|
| 11 |
namespace hiro { |
| 12 |
|
| 13 |
struct pMenuRadioItem : pAction { |
| 14 |
Declare(MenuRadioItem, Action) |
| 15 |
|
| 16 |
auto setChecked() -> void; |
| 17 |
auto setGroup(sGroup group) -> void; |
| 18 |
auto setText(const string& text) -> void; |
| 19 |
|
| 20 |
CocoaMenuRadioItem* cocoaMenuRadioItem = nullptr; |
| 21 |
}; |
| 22 |
|
| 23 |
} |
| 24 |
|
| 25 |
#endif |