application/window.c

changeset 3
f154867f54dc
parent 2
fbdfaacc4182
child 7
905ac52c910f
--- a/application/window.c	Sat Jan 27 17:50:19 2024 +0100
+++ b/application/window.c	Sun Jan 28 16:31:34 2024 +0100
@@ -35,8 +35,9 @@
 	UiObject* obj = ui_window("iDAV", NULL);
 
 	// navigation bar
-	ui_hbox(obj, .fill = UI_OFF) {
-		// TODO: go back/forward buttons
+	ui_hbox(obj, .fill = UI_OFF, .margin = 8) {
+		ui_button(obj, .icon = "Back");
+		ui_button(obj, .icon = "Forward");
 
 		ui_path_textfield(obj, .fill = UI_ON);
 	}

mercurial