| 588:59ea5791be5e | 589:4d86050ad6ff |
|---|---|
| 27 */ | 27 */ |
| 28 | 28 |
| 29 #include "toolkit.h" | 29 #include "toolkit.h" |
| 30 #include "Windows.h" | 30 #include "Windows.h" |
| 31 | 31 |
| 32 #include "window.h" | |
| 33 | |
| 32 #include "../common/properties.h" | 34 #include "../common/properties.h" |
| 33 | 35 |
| 34 #include <stdio.h> | 36 #include <stdio.h> |
| 35 #include <stdlib.h> | 37 #include <stdlib.h> |
| 36 | 38 |
| 43 static ui_callback exit_func; | 45 static ui_callback exit_func; |
| 44 void *exit_data; | 46 void *exit_data; |
| 45 | 47 |
| 46 void ui_init(const char *appname, int argc, char **argv) { | 48 void ui_init(const char *appname, int argc, char **argv) { |
| 47 application_name = appname; | 49 application_name = appname; |
| 50 | |
| 51 ui_window_init(); | |
| 48 } | 52 } |
| 49 | 53 |
| 50 const char* ui_appname() { | 54 const char* ui_appname() { |
| 51 return application_name; | 55 return application_name; |
| 52 } | 56 } |