ui/server/window.h

changeset 982
9102a53c5385
parent 981
1d47e71f26b6
child 991
ab3125bd8b5f
equal deleted inserted replaced
981:1d47e71f26b6 982:9102a53c5385
34 34
35 #ifdef __cplusplus 35 #ifdef __cplusplus
36 extern "C" { 36 extern "C" {
37 #endif 37 #endif
38 38
39 enum UiWindowType {
40 UI_WINDOW_MAIN = 0,
41 UI_WINDOW_SIMPLE,
42 UI_WINDOW_SIDEBAR,
43 UI_WINDOW_SPLITVIEW
44 };
45 typedef enum UiWindowType UiWindowType;
39 46
47 typedef struct UiWindow {
48 UiWidget widget;
49 UiWindowType type;
50 cxmutstr title;
51 } UiWindow;
40 52
53 cxmutstr ui_window_serialize(UiWindow *w);
41 54
42 #ifdef __cplusplus 55 #ifdef __cplusplus
43 } 56 }
44 #endif 57 #endif
45 58

mercurial