ui/wpf/toolkit.c

changeset 135
b9dc9cdfa23a
parent 78
135920fe441b
equal deleted inserted replaced
134:69e8e0936858 135:b9dc9cdfa23a
35 35
36 void ui_init(char *appname, int argc, char **argv) { 36 void ui_init(char *appname, int argc, char **argv) {
37 UIinit(appname); 37 UIinit(appname);
38 } 38 }
39 39
40 void ui_onstartup(ui_callback f, void *userdata) {
41 UIonstartup(f, userdata);
42 }
43
44 void ui_onopen(ui_callback f, void *userdata) {
45 UIonopen(f, userdata);
46 }
47
48 void ui_onexit(ui_callback f, void *userdata) {
49 UIonexit(f, userdata);
50 }
51
40 void ui_main() { 52 void ui_main() {
41 UImain(); 53 UImain();
42 } 54 }
43 55
44 void ui_show(UiObject *obj) { 56 void ui_show(UiObject *obj) {

mercurial