Migrated windows/radiobuttons.c.
This commit is contained in:
parent
8f28577148
commit
3d4c81a695
|
@ -110,17 +110,24 @@ static void radiobuttonsSHED(uiControl *c)
|
||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
static void radiobuttonsSysFunc(uiControl *c, uiControlSysFuncParams *p)
|
static uintptr_t radiobuttonsStartZOrder(uiControl *c)
|
||||||
{
|
|
||||||
// TODO
|
|
||||||
}
|
|
||||||
|
|
||||||
static int radiobuttonsStartZOrder(uiControl *c, uiControlSysFuncParams *p)
|
|
||||||
{
|
{
|
||||||
// TODO
|
// TODO
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static uintptr_t radiobuttonsSetZOrder(uiControl *c, uintptr_t insertAfter)
|
||||||
|
{
|
||||||
|
// TODO
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static int radiobuttonsHasTabStops(uiControl *c)
|
||||||
|
{
|
||||||
|
// TODO return 0 if no radio buttons
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
static void radiobuttonsAppend(uiRadioButtons *rr, const char *text)
|
static void radiobuttonsAppend(uiRadioButtons *rr, const char *text)
|
||||||
{
|
{
|
||||||
struct radiobuttons *r = (struct radiobuttons *) rr;
|
struct radiobuttons *r = (struct radiobuttons *) rr;
|
||||||
|
@ -162,8 +169,9 @@ uiRadioButtons *uiNewRadioButtons(void)
|
||||||
uiControl(r)->CommitHide = radiobuttonsSHED;
|
uiControl(r)->CommitHide = radiobuttonsSHED;
|
||||||
uiControl(r)->CommitEnable = radiobuttonsSHED;
|
uiControl(r)->CommitEnable = radiobuttonsSHED;
|
||||||
uiControl(r)->CommitDisable = radiobuttonsSHED;
|
uiControl(r)->CommitDisable = radiobuttonsSHED;
|
||||||
uiControl(r)->SysFunc = radiobuttonsSysFunc;
|
|
||||||
uiControl(r)->StartZOrder = radiobuttonsStartZOrder;
|
uiControl(r)->StartZOrder = radiobuttonsStartZOrder;
|
||||||
|
uiControl(r)->SetZOrder = radiobuttonsSetZOrder;
|
||||||
|
uiControl(r)->HasTabStops = radiobuttonsHasTabStops;
|
||||||
|
|
||||||
uiRadioButtons(r)->Append = radiobuttonsAppend;
|
uiRadioButtons(r)->Append = radiobuttonsAppend;
|
||||||
|
|
Loading…
Reference in New Issue