512:3cb2587f8891 | 513:a4e0ef98a8b4 |
---|---|
771 | 771 |
772 #endif | 772 #endif |
773 | 773 |
774 #ifdef UI_WIN32 | 774 #ifdef UI_WIN32 |
775 | 775 |
776 void application_startup(UiEvent *event, void *data) { | |
777 | |
778 } | |
779 | |
776 int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { | 780 int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { |
781 ui_init("app1", 0, NULL); | |
782 ui_onstartup(application_startup, NULL); | |
783 | |
784 ui_main(); | |
785 | |
777 return 0; | 786 return 0; |
778 } | 787 } |
779 | 788 |
780 #endif | 789 #endif |
790 |