application/main.c

branch
newapi
changeset 259
8cce275d2847
parent 257
a334f9ebc5d0
child 260
eebb0626d020
--- a/application/main.c	Wed Feb 14 22:00:41 2024 +0100
+++ b/application/main.c	Thu Feb 15 21:04:21 2024 +0100
@@ -67,7 +67,7 @@
     
     UiObject *obj = ui_window("Test", NULL);
     
-    ui_button(obj, .label = "Test Button");
+    ui_button(obj, .label = "Test Button", .icon = "folder-documents");
     ui_togglebutton(obj, .label = "Toggle");
     ui_checkbox(obj, .label = "Checkbox");
     

mercurial