ui/gtk/container.h

changeset 66
8d490d97aab8
parent 65
4697592e24ba
child 74
55718d4ed227
equal deleted inserted replaced
65:4697592e24ba 66:8d490d97aab8
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

mercurial