| 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); |