libui/redo/reredo/darwin/radiobuttons.m

34 lines
674 B
Mathematica
Raw Normal View History

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
//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;
}