ui/common/container.c

changeset 1123
42ef3156ea09
parent 822
54e43e4efac2
equal deleted inserted replaced
1122:fd0f943ff5f3 1123:42ef3156ea09
31 31
32 void ui_end_new(UiObject *obj) { 32 void ui_end_new(UiObject *obj) {
33 if(!obj->container_end) { 33 if(!obj->container_end) {
34 return; 34 return;
35 } 35 }
36 UiContainerX *rm = obj->container_end; 36 UiContainer *rm = obj->container_end;
37 uic_object_pop_container(obj); 37 uic_object_pop_container(obj);
38 ui_free(obj->ctx, rm); 38 ui_free(obj->ctx, rm);
39 } 39 }
40 40
41 void ui_newline(UiObject *obj) { 41 void ui_newline(UiObject *obj) {
42 UiContainerX *container = obj->container_end; 42 UiContainer *container = obj->container_end;
43 if(container) { 43 if(container) {
44 container->newline = TRUE; 44 container->newline = TRUE;
45 } 45 }
46 } 46 }
47 47

mercurial