Removed the obsolete HasTabStops() from the Windows backend. It was needed for uiTab due to the incorrect way it worked before; soon I will make it the correct way, and we won't need it.
This commit is contained in:
parent
8846af48d4
commit
d44f966fc3
|
@ -203,22 +203,6 @@ static void boxRelayout(uiWindowsControl *c, intmax_t x, intmax_t y, intmax_t wi
|
||||||
uiWindowsFreeSizing(d);
|
uiWindowsFreeSizing(d);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO
|
|
||||||
static int boxHasTabStops(uiControl *c)
|
|
||||||
{
|
|
||||||
uiBox *b = uiBox(c);
|
|
||||||
struct child *bc;
|
|
||||||
uintmax_t i;
|
|
||||||
|
|
||||||
for (i = 0; i < b->controls->len; i++) {
|
|
||||||
bc = ptrArrayIndex(b->controls, struct child *, i);
|
|
||||||
if (uiControlHasTabStops(bc->c))
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
static void boxContainerUpdateState(uiControl *c)
|
static void boxContainerUpdateState(uiControl *c)
|
||||||
{
|
{
|
||||||
uiBox *b = uiBox(c);
|
uiBox *b = uiBox(c);
|
||||||
|
|
|
@ -129,13 +129,6 @@ static uintptr_t radiobuttonsSetZOrder(uiControl *c, uintptr_t insertAfter)
|
||||||
}
|
}
|
||||||
return insertAfter;
|
return insertAfter;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int radiobuttonsHasTabStops(uiControl *c)
|
|
||||||
{
|
|
||||||
struct radiobuttons *r = (struct radiobuttons *) c;
|
|
||||||
|
|
||||||
return r->hwnds->len != 0;
|
|
||||||
}
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void uiRadioButtonsAppend(uiRadioButtons *r, const char *text)
|
void uiRadioButtonsAppend(uiRadioButtons *r, const char *text)
|
||||||
|
|
|
@ -152,13 +152,6 @@ static uintptr_t spinboxSetZOrder(uiControl *c, uintptr_t insertAfter)
|
||||||
uiWindowsUtilSetZOrder(s->updown, (uintptr_t) (s->hwnd));
|
uiWindowsUtilSetZOrder(s->updown, (uintptr_t) (s->hwnd));
|
||||||
return (uintptr_t) (s->updown);
|
return (uintptr_t) (s->updown);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int spinboxHasTabStops(uiControl *c)
|
|
||||||
{
|
|
||||||
struct spinbox *s = (struct spinbox *) c;
|
|
||||||
|
|
||||||
return uiWindowsUtilHasTabStops(s->hwnd);
|
|
||||||
}
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static void defaultOnChanged(uiSpinbox *s, void *data)
|
static void defaultOnChanged(uiSpinbox *s, void *data)
|
||||||
|
|
Loading…
Reference in New Issue