2015-08-14 22:50:38 -05:00
|
|
|
// 14 august 2015
|
|
|
|
#import "uipriv_darwin.h"
|
|
|
|
|
|
|
|
struct uiRadioButtons {
|
|
|
|
uiDarwinControl c;
|
|
|
|
NSTextField *dummy;
|
|
|
|
};
|
|
|
|
|
|
|
|
uiDarwinDefineControl(
|
|
|
|
uiRadioButtons, // type name
|
|
|
|
uiRadioButtonsType, // type function
|
|
|
|
dummy // handle
|
|
|
|
)
|
|
|
|
|
|
|
|
void uiRadioButtonsAppend(uiRadioButtons *r, const char *text)
|
|
|
|
{
|
|
|
|
// TODO
|
2015-08-16 21:19:15 -05:00
|
|
|
//TODO uiControlQueueResize(uiControl(r));
|
2015-08-14 22:50:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
uiRadioButtons *uiNewRadioButtons(void)
|
|
|
|
{
|
|
|
|
uiRadioButtons *r;
|
|
|
|
|
|
|
|
r = (uiRadioButtons *) uiNewControl(uiRadioButtonsType());
|
|
|
|
|
|
|
|
r->dummy = [[NSTextField alloc] initWithFrame:NSZeroRect];
|
|
|
|
[r->dummy setStringValue:@"TODO uiRadioButtons not implemented"];
|
|
|
|
|
|
|
|
uiDarwinFinishNewControl(r, uiRadioButtons);
|
|
|
|
|
|
|
|
return r;
|
|
|
|
}
|