ui/qt/container.cpp

changeset 520
ea1bba55de44
parent 519
8884c7fbe4cb
child 522
bb0d05f45046
equal deleted inserted replaced
519:8884c7fbe4cb 520:ea1bba55de44
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;

mercurial