37 |
37 |
38 static void delete_container(UiContainerPrivate *ct) { |
38 static void delete_container(UiContainerPrivate *ct) { |
39 delete ct; |
39 delete ct; |
40 } |
40 } |
41 |
41 |
42 static void add_container(UiObject *obj, UiContainerPrivate *ct) { |
42 void ui_container_add(UiObject *obj, UiContainerPrivate *ct) { |
43 UiContainerX *container = (UiContainerX*)ui_malloc(obj->ctx, sizeof(UiContainerX)); |
43 UiContainerX *container = (UiContainerX*)ui_malloc(obj->ctx, sizeof(UiContainerX)); |
44 container->close = 0; |
44 container->close = 0; |
45 container->container = ct; |
45 container->container = ct; |
46 container->prev = NULL; |
46 container->prev = NULL; |
47 container->next = NULL; |
47 container->next = NULL; |