Reworked the test program to test tab deletion. It doesn't quite work...

This commit is contained in:
Pietro Gagliardi 2015-04-29 01:20:30 -04:00
parent ae66137d01
commit 2637bf4e1f
1 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,10 @@ int main(int argc, char *argv[])
tab = newTab(); tab = newTab();
uiTabAppendPage(tab, "Page 1", newVerticalBox()); uiTabAppendPage(tab, "Page 1", newVerticalBox());
uiTabAppendPage(tab, "Page 2", newHorizontalBox());
uiTabAppendPage(tab, "Page 3", newVerticalBox());
uiTabDeletePage(tab, 1);
// TODO delete the stack
uiWindowSetChild(w, uiControl(tab)); uiWindowSetChild(w, uiControl(tab));
uiControlShow(uiControl(newWindow("Second Window", 320, 240, 1))); uiControlShow(uiControl(newWindow("Second Window", 320, 240, 1)));