91 Dimension n; |
91 Dimension n; |
92 } UiBoxContainer; |
92 } UiBoxContainer; |
93 |
93 |
94 typedef struct UiGridContainer { |
94 typedef struct UiGridContainer { |
95 UiContainerPrivate container; |
95 UiContainerPrivate container; |
96 int x; |
96 Dimension x; |
97 int y; |
97 Dimension y; |
98 } UiGridContainer; |
98 } UiGridContainer; |
99 |
99 |
100 UiContainerX* ui_box_container(UiObject *obj, Widget grid, UiBoxOrientation orientation); |
100 UiContainerX* ui_box_container(UiObject *obj, Widget grid, UiBoxOrientation orientation); |
101 Widget ui_vbox_prepare(UiContainerPrivate *ctn, Arg *args, int *n); |
101 Widget ui_vbox_prepare(UiContainerPrivate *ctn, Arg *args, int *n); |
102 Widget ui_hbox_prepare(UiContainerPrivate *ctn, Arg *args, int *n); |
102 Widget ui_hbox_prepare(UiContainerPrivate *ctn, Arg *args, int *n); |
103 void ui_box_container_add(UiContainerPrivate *ctn, Widget widget); |
103 void ui_box_container_add(UiContainerPrivate *ctn, Widget widget); |
104 |
104 |
|
105 |
|
106 UiContainerX* ui_grid_container(UiObject *obj, Widget grid); |
|
107 Widget ui_grid_container_prepare(UiContainerPrivate *ctn, Arg *args, int *n); |
|
108 void ui_grid_container_add(UiContainerPrivate *ctn, Widget widget); |
|
109 |
105 #ifdef __cplusplus |
110 #ifdef __cplusplus |
106 } |
111 } |
107 #endif |
112 #endif |
108 |
113 |
109 #endif /* CONTAINER_H */ |
114 #endif /* CONTAINER_H */ |