Re-enabled window creation on the test program. It works!

This commit is contained in:
Pietro Gagliardi 2015-04-28 17:48:56 -04:00
parent 287b301282
commit 129733514a
2 changed files with 8 additions and 2 deletions

View File

@ -97,3 +97,9 @@
}
@end
uiMenu *uiNewMenu(const char *name)
{
// TODO
return NULL;
}

View File

@ -37,7 +37,7 @@ int main(int argc, char *argv[])
return 1;
}
/* initMenus();
// initMenus();
w = newWindow("Main Window", 320, 240, 1);
uiWindowOnClosing(w, onClosing, NULL);
@ -45,7 +45,7 @@ int main(int argc, char *argv[])
uiControlShow(uiControl(newWindow("Second Window", 320, 240, 1)));
uiControlShow(uiControl(w));
*/ uiMain();
uiMain();
printf("after uiMain()\n");
return 0;
}