From 2637bf4e1f1433143cea1d659947cf8bd535c22e Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 29 Apr 2015 01:20:30 -0400 Subject: [PATCH] Reworked the test program to test tab deletion. It doesn't quite work... --- new/test/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/new/test/main.c b/new/test/main.c index 0419d4b5..0ae1a0c8 100644 --- a/new/test/main.c +++ b/new/test/main.c @@ -45,6 +45,10 @@ int main(int argc, char *argv[]) tab = newTab(); 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)); uiControlShow(uiControl(newWindow("Second Window", 320, 240, 1)));