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:
Pietro Gagliardi 2015-05-19 12:15:50 -04:00
parent 7fff5b046a
commit f50a146a5d
2 changed files with 5 additions and 0 deletions

View File

@ -106,6 +106,7 @@ uiBox *makePage2(void)
button = uiNewButton(moveOutText);
uiButtonOnClicked(button, movePage1, NULL);
uiBoxAppend(hbox, uiControl(button), 0);
uiBoxAppend(hbox, uiControl(uiNewSpinbox()), 0);
uiBoxAppend(page2, uiControl(hbox), 0);
moveBack = 0;

View File

@ -141,6 +141,10 @@ interface Group from Control {
};
func NewGroup(text *const char) *Group;
interface Spinbox from Control {
};
func NewSpinbox(void);
interface Menu {
func AppendItem(name *const char) *MenuItem;
func AppendCheckItem(name *const char) *MenuItem;