comparison: ui/server/window.h
ui/server/window.h
- changeset 991
- ab3125bd8b5f
- parent 982
- 9102a53c5385
equal
deleted
inserted
replaced
| 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; |
|
| 46 |
39 |
| 47 typedef struct UiWindow { |
40 typedef struct UiWindow { |
| 48 UiWidget widget; |
41 UiWidget widget; |
| 49 UiWindowType type; |
|
| 50 cxmutstr title; |
42 cxmutstr title; |
| 51 } UiWindow; |
43 } UiWindow; |
| 52 |
44 |
| 53 cxmutstr ui_window_serialize(UiWindow *w); |
45 cxmutstr ui_window_serialize(UiWindow *w); |
| 54 |
46 |