Brought the tabs back to the test program.
This commit is contained in:
parent
d8624c87c9
commit
9cea909dec
|
@ -68,14 +68,13 @@ int main(int argc, char *argv[])
|
|||
uiOnShouldQuit(onShouldQuit, w);
|
||||
|
||||
mainBox = newHorizontalBox();
|
||||
// uiWindowSetChild(w, uiControl(mainBox));
|
||||
uiWindowSetChild(w, uiControl(mainBox));
|
||||
|
||||
mainTab = newTab();
|
||||
uiBoxAppend(mainBox, uiControl(mainTab), 1);
|
||||
|
||||
makePage1(w);
|
||||
// uiTabAppend(mainTab, "Page 1", uiControl(page1));
|
||||
uiWindowSetChild(w, uiControl(page1));
|
||||
uiTabAppend(mainTab, "Page 1", uiControl(page1));
|
||||
|
||||
page2 = makePage2();
|
||||
uiTabAppend(mainTab, "Page 2", uiControl(page2));
|
||||
|
|
Loading…
Reference in New Issue