| 37 #ifdef __cplusplus |
37 #ifdef __cplusplus |
| 38 extern "C" { |
38 extern "C" { |
| 39 #endif |
39 #endif |
| 40 |
40 |
| 41 #define UI_APPLY_LAYOUT(layout, args) \ |
41 #define UI_APPLY_LAYOUT(layout, args) \ |
| 42 layout.fill = args.fill; \ |
42 layout.fill = args->fill; \ |
| 43 layout.hexpand = args.hexpand; \ |
43 layout.hexpand = args->hexpand; \ |
| 44 layout.vexpand = args.vexpand; \ |
44 layout.vexpand = args->vexpand; \ |
| 45 layout.hfill = args.hfill; \ |
45 layout.hfill = args->hfill; \ |
| 46 layout.vfill = args.vfill; \ |
46 layout.vfill = args->vfill; \ |
| 47 layout.override_defaults = args.override_defaults; \ |
47 layout.override_defaults = args->override_defaults; \ |
| 48 layout.colspan = args.colspan; \ |
48 layout.colspan = args->colspan; \ |
| 49 layout.rowspan = args.rowspan |
49 layout.rowspan = args->rowspan |
| 50 |
50 |
| 51 typedef enum UiBoxOrientation UiBoxOrientation; |
51 typedef enum UiBoxOrientation UiBoxOrientation; |
| 52 |
52 |
| 53 enum UiContainerType { |
53 enum UiContainerType { |
| 54 UI_CONTAINER_GENERIC = 0, |
54 UI_CONTAINER_GENERIC = 0, |