Added an interface for uiSpinbox. Why? Because its Windows implementation will throw a wrench through every object system implementation I can think of.
This commit is contained in:
parent
7fff5b046a
commit
f50a146a5d
|
@ -106,6 +106,7 @@ uiBox *makePage2(void)
|
||||||
button = uiNewButton(moveOutText);
|
button = uiNewButton(moveOutText);
|
||||||
uiButtonOnClicked(button, movePage1, NULL);
|
uiButtonOnClicked(button, movePage1, NULL);
|
||||||
uiBoxAppend(hbox, uiControl(button), 0);
|
uiBoxAppend(hbox, uiControl(button), 0);
|
||||||
|
uiBoxAppend(hbox, uiControl(uiNewSpinbox()), 0);
|
||||||
uiBoxAppend(page2, uiControl(hbox), 0);
|
uiBoxAppend(page2, uiControl(hbox), 0);
|
||||||
moveBack = 0;
|
moveBack = 0;
|
||||||
|
|
||||||
|
|
|
@ -141,6 +141,10 @@ interface Group from Control {
|
||||||
};
|
};
|
||||||
func NewGroup(text *const char) *Group;
|
func NewGroup(text *const char) *Group;
|
||||||
|
|
||||||
|
interface Spinbox from Control {
|
||||||
|
};
|
||||||
|
func NewSpinbox(void);
|
||||||
|
|
||||||
interface Menu {
|
interface Menu {
|
||||||
func AppendItem(name *const char) *MenuItem;
|
func AppendItem(name *const char) *MenuItem;
|
||||||
func AppendCheckItem(name *const char) *MenuItem;
|
func AppendCheckItem(name *const char) *MenuItem;
|
||||||
|
|
Loading…
Reference in New Issue