From 57b9927a25100228da6b0b6780c203c4630594dc Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 1 Sep 2015 11:24:16 -0400 Subject: [PATCH] Some more testing hooks for Windows. --- redo/test/main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/redo/test/main.c b/redo/test/main.c index dbb6291c..e807c94e 100644 --- a/redo/test/main.c +++ b/redo/test/main.c @@ -44,6 +44,7 @@ int main(int argc, char *argv[]) uiWindow *w; uiBox *page2, *page3, *page4, *page5; int nomenus = 0; + int startspaced = 0; newhbox = uiNewHorizontalBox; newvbox = uiNewVerticalBox; @@ -52,6 +53,8 @@ int main(int argc, char *argv[]) for (i = 1; i < argc; i++) if (strcmp(argv[i], "nomenus") == 0) nomenus = 1; + else if (strcmp(argv[i], "startspaced") == 0) + startspaced = 1; else if (strcmp(argv[i], "swaphv") == 0) { newhbox = uiNewVerticalBox; newvbox = uiNewHorizontalBox; @@ -101,6 +104,9 @@ int main(int argc, char *argv[]) page5 = makePage5(); uiTabAppend(mainTab, "Page 5", uiControl(page5)); + if (startspaced) + setSpaced(1); + uiControlShow(uiControl(w)); uiMain(); printf("after uiMain()\n");