30 #include "menu.h" |
30 #include "menu.h" |
31 #include "browser.h" |
31 #include "browser.h" |
32 |
32 |
33 #include <stdio.h> |
33 #include <stdio.h> |
34 #include <stdlib.h> |
34 #include <stdlib.h> |
|
35 #include <string.h> |
35 |
36 |
36 UiObject* window_create(void) { |
37 UiObject* window_create(void) { |
37 UiObject *obj = ui_window("Note", NULL); |
38 UiObject *obj = ui_window("Note", NULL); |
38 WindowData *window = ui_malloc(obj->ctx, sizeof(WindowData)); |
39 WindowData *window = ui_malloc(obj->ctx, sizeof(WindowData)); |
39 memset(window, 0, sizeof(WindowData)); |
40 memset(window, 0, sizeof(WindowData)); |