application/main.c

changeset 589
4d86050ad6ff
parent 585
e71867b33bfd
child 594
fc854e0ab924
equal deleted inserted replaced
588:59ea5791be5e 589:4d86050ad6ff
1012 #endif 1012 #endif
1013 1013
1014 #ifdef UI_WIN32 1014 #ifdef UI_WIN32
1015 1015
1016 void application_startup(UiEvent *event, void *data) { 1016 void application_startup(UiEvent *event, void *data) {
1017 1017 UiObject *obj = ui_window("Test", NULL);
1018
1018 } 1019 }
1019 1020
1020 int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { 1021 int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) {
1021 ui_init("app1", 0, NULL); 1022 ui_init("app1", 0, NULL);
1022 ui_onstartup(application_startup, NULL); 1023 ui_onstartup(application_startup, NULL);

mercurial