Improved frontend

This commit is contained in:
2025-07-28 15:22:17 +02:00
parent 211b5aa95c
commit 5c2c5ba46b
4 changed files with 38 additions and 11 deletions
+6
View File
@@ -61,6 +61,12 @@ impl Widget {
self
}
pub fn dependency_box(self: &Arc<Self>, d: Box<dyn DependencyHandler>) -> &Arc<Self> {
d.add();
self.3.lock().unwrap().push(d);
self
}
pub fn component<C: Component + 'static>(self: &Arc<Self>, c: C) -> &Arc<Self> {
self.1
.lock()