35 #ifdef __cplusplus |
35 #ifdef __cplusplus |
36 extern "C" { |
36 extern "C" { |
37 #endif |
37 #endif |
38 |
38 |
39 #define ui_reset_layout(layout) memset(&(layout), 0, sizeof(UiLayout)) |
39 #define ui_reset_layout(layout) memset(&(layout), 0, sizeof(UiLayout)) |
|
40 #define ui_lb2bool(b) ((b) == UI_LAYOUT_TRUE ? TRUE : FALSE) |
|
41 #define ui_bool2lb(b) ((b) ? UI_LAYOUT_TRUE : UI_LAYOUT_FALSE) |
40 |
42 |
41 typedef void (*ui_container_add_f)(UiContainer*, GtkWidget*, UiBool); |
43 typedef void (*ui_container_add_f)(UiContainer*, GtkWidget*, UiBool); |
42 |
44 |
43 typedef struct UiDocumentView UiDocumentView; |
45 typedef struct UiDocumentView UiDocumentView; |
44 |
46 |