add list icon

Wed, 17 Jun 2026 19:50:57 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 17 Jun 2026 19:50:57 +0200
changeset 1204
bc12e849a0fe
parent 1203
35779840ebfd
child 1205
749a32e91513

add list icon

ui/common/icons.c file | annotate | diff | comparison | revisions
ui/ui/icons.h file | annotate | diff | comparison | revisions
--- a/ui/common/icons.c	Tue Jun 16 17:29:14 2026 +0200
+++ b/ui/common/icons.c	Wed Jun 17 19:50:57 2026 +0200
@@ -44,6 +44,7 @@
         case UI_ICON_ID_GO_FORWARD  : return UI_ICON_GO_FORWARD;
         case UI_ICON_ID_GO_UP       : return UI_ICON_GO_UP;
         case UI_ICON_ID_GO_DOWN     : return UI_ICON_GO_DOWN;
+        case UI_ICON_ID_LIST        : return UI_ICON_LIST;
     }
     return NULL;
 }
--- a/ui/ui/icons.h	Tue Jun 16 17:29:14 2026 +0200
+++ b/ui/ui/icons.h	Wed Jun 17 19:50:57 2026 +0200
@@ -51,6 +51,7 @@
 #define UI_ICON_GO_FORWARD "go-next"
 #define UI_ICON_GO_UP "go-up"
 #define UI_ICON_GO_DOWN "go-down"
+#define UI_ICON_LIST "view-list"
     
 #endif /* UI_GTK */
     
@@ -70,6 +71,7 @@
 #define UI_ICON_GO_FORWARD "go-next"
 #define UI_ICON_GO_UP "go-up"
 #define UI_ICON_GO_DOWN "go-down"
+#define UI_ICON_LIST "view-list"
     
 #endif /* UI_QT */
 
@@ -89,6 +91,7 @@
 #define UI_ICON_GO_FORWARD "Forward"
 #define UI_ICON_GO_UP "Up"
 #define UI_ICON_GO_DOWN "" // TODO: implement workaround for missing down symbol
+#define UI_ICON_LIST "List"
     
 #endif /* UI_WINUI */
 
@@ -108,6 +111,7 @@
 #define UI_ICON_GO_FORWARD "NSImageNameGoRightTemplate"
 #define UI_ICON_GO_UP ""
 #define UI_ICON_GO_DOWN ""
+#define UI_ICON_LIST ""
 
 #endif /* UI_COCOA */
     
@@ -127,6 +131,7 @@
 #define UI_ICON_GO_FORWARD ""
 #define UI_ICON_GO_UP ""
 #define UI_ICON_GO_DOWN "" 
+#define UI_ICON_LIST ""
     
 #endif /* UI_MOTIF */
     
@@ -146,6 +151,7 @@
 #define UI_ICON_GO_FORWARD ""
 #define UI_ICON_GO_UP ""
 #define UI_ICON_GO_DOWN "" 
+#define UI_ICON_LIST ""
     
 #endif /* UI_MOTIF */
     
@@ -164,7 +170,8 @@
     UI_ICON_ID_GO_BACK,
     UI_ICON_ID_GO_FORWARD,
     UI_ICON_ID_GO_UP,
-    UI_ICON_ID_GO_DOWN
+    UI_ICON_ID_GO_DOWN,
+    UI_ICON_ID_LIST
 };
     
 UIEXPORT UiIcon* ui_icon(const char* name, size_t size);

mercurial