Re-enabled window creation on the test program. It works!
This commit is contained in:
parent
287b301282
commit
129733514a
|
@ -97,3 +97,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
uiMenu *uiNewMenu(const char *name)
|
||||||
|
{
|
||||||
|
// TODO
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@ int main(int argc, char *argv[])
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* initMenus();
|
// initMenus();
|
||||||
|
|
||||||
w = newWindow("Main Window", 320, 240, 1);
|
w = newWindow("Main Window", 320, 240, 1);
|
||||||
uiWindowOnClosing(w, onClosing, NULL);
|
uiWindowOnClosing(w, onClosing, NULL);
|
||||||
|
@ -45,7 +45,7 @@ int main(int argc, char *argv[])
|
||||||
uiControlShow(uiControl(newWindow("Second Window", 320, 240, 1)));
|
uiControlShow(uiControl(newWindow("Second Window", 320, 240, 1)));
|
||||||
|
|
||||||
uiControlShow(uiControl(w));
|
uiControlShow(uiControl(w));
|
||||||
*/ uiMain();
|
uiMain();
|
||||||
printf("after uiMain()\n");
|
printf("after uiMain()\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue