ui/common/object.c

changeset 802
cc73993a3ff9
parent 801
e096c441e874
child 870
e167cf006213
--- a/ui/common/object.c	Sun Oct 05 18:13:15 2025 +0200
+++ b/ui/common/object.c	Sun Oct 05 19:06:34 2025 +0200
@@ -74,39 +74,6 @@
     }
 }
 
-void ui_end(UiObject *obj) {
-    if(!obj->next) {
-        return;
-    }
-    
-    UiObject *prev = NULL;
-    while(obj->next) {
-        prev = obj;
-        obj = obj->next;
-    }
-    
-    if(prev) {
-        // TODO: free last obj
-        prev->next = NULL;
-    }
-}
-
-void ui_end_new(UiObject *obj) {
-    if(!obj->container_end) {
-        return;
-    }
-    UiContainerX *rm = obj->container_end;
-    uic_object_pop_container(obj);
-    ui_free(obj->ctx, rm);
-}
-
-void ui_newline(UiObject *obj) {
-    UiContainerX *container = obj->container_end;
-    if(container) {
-        container->newline = TRUE;
-    }
-}
-
 void ui_object_ref(UiObject *obj) {
     obj->ref++;
 }

mercurial