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