| 1 |
#if defined(Hiro_RadioLabel) |
| 2 |
|
| 3 |
@interface CocoaRadioLabel : NSButton { |
| 4 |
@public |
| 5 |
hiro::mRadioLabel* radioLabel; |
| 6 |
} |
| 7 |
-(id) initWith:(hiro::mRadioLabel&)radioLabel; |
| 8 |
-(IBAction) activate:(id)sender; |
| 9 |
@end |
| 10 |
|
| 11 |
namespace hiro { |
| 12 |
|
| 13 |
struct pRadioLabel : pWidget { |
| 14 |
Declare(RadioLabel, Widget) |
| 15 |
|
| 16 |
auto minimumSize() const -> Size override; |
| 17 |
auto setChecked() -> void; |
| 18 |
auto setGeometry(Geometry geometry) -> void override; |
| 19 |
auto setGroup(sGroup group) -> void; |
| 20 |
auto setText(const string& text) -> void; |
| 21 |
|
| 22 |
CocoaRadioLabel* cocoaRadioLabel = nullptr; |
| 23 |
}; |
| 24 |
|
| 25 |
} |
| 26 |
|
| 27 |
#endif |