Fri, 19 Jun 2026 17:23:28 +0200
add more icons
| ui/common/icons.c | file | annotate | diff | comparison | revisions | |
| ui/ui/icons.h | file | annotate | diff | comparison | revisions |
--- a/ui/common/icons.c Thu Jun 18 17:55:52 2026 +0200 +++ b/ui/common/icons.c Fri Jun 19 17:23:28 2026 +0200 @@ -71,6 +71,27 @@ case UI_ICON_ID_LIST_BULLET : return UI_ICON_LIST_BULLET ; case UI_ICON_ID_LIST_ORDERED : return UI_ICON_LIST_ORDERED; case UI_ICON_ID_LIST_CHECK : return UI_ICON_LIST_CHECK; + case UI_ICON_ID_CHECKBOX : return UI_ICON_CHECKBOX; + case UI_ICON_ID_STAR : return UI_ICON_STAR; + case UI_ICON_ID_VIEW_CONCEAL : return UI_ICON_VIEW_CONCEAL; + case UI_ICON_ID_SETTINGS : return UI_ICON_SETTINGS; + case UI_ICON_ID_MEDIA_PLAY : return UI_ICON_MEDIA_PLAY; + case UI_ICON_ID_MEDIA_STOP : return UI_ICON_MEDIA_STOP; + case UI_ICON_ID_MEDIA_PAUSE : return UI_ICON_MEDIA_PAUSE; + case UI_ICON_ID_MEDIA_SEEK_BACKWARD : return UI_ICON_MEDIA_SEEK_BACKWARD; + case UI_ICON_ID_MEDIA_SEEK_FORWARD : return UI_ICON_MEDIA_SEEK_FORWARD; + case UI_ICON_ID_MEDIA_SKIP_BACKWARD : return UI_ICON_MEDIA_SKIP_BACKWARD; + case UI_ICON_ID_MEDIA_SKIP_FORWARD : return UI_ICON_MEDIA_SKIP_FORWARD; + case UI_ICON_ID_CALL_START : return UI_ICON_CALL_START; + case UI_ICON_ID_CALL_STOP : return UI_ICON_CALL_STOP; + case UI_ICON_ID_CALL_INCOMING : return UI_ICON_CALL_INCOMING; + case UI_ICON_ID_CALL_OUTGOING : return UI_ICON_CALL_OUTGOING; + case UI_ICON_ID_MICROPHONE_ON : return UI_ICON_MICROPHONE_ON; + case UI_ICON_ID_MICROPHONE_OFF : return UI_ICON_MICROPHONE_OFF; + case UI_ICON_ID_LOCKED : return UI_ICON_LOCKED; + case UI_ICON_ID_UNLOCKED : return UI_ICON_UNLOCKED; + case UI_ICON_ID_SECURE : return UI_ICON_SECURE; + case UI_ICON_ID_INSECURE : return UI_ICON_INSECURE; } return NULL; }
--- a/ui/ui/icons.h Thu Jun 18 17:55:52 2026 +0200 +++ b/ui/ui/icons.h Fri Jun 19 17:23:28 2026 +0200 @@ -78,6 +78,29 @@ #define UI_ICON_LIST_BULLET "view-list-bullet" #define UI_ICON_LIST_ORDERED "view-list-ordered" #define UI_ICON_LIST_CHECK "checkbox-checked" +#define UI_ICON_CHECKBOX "checkbox-checked" +#define UI_ICON_STAR "starred" +#define UI_ICON_VIEW_REVEAL "view-reveal" +#define UI_ICON_VIEW_CONCEAL "view-conceal" +#define UI_ICON_SETTINGS "applications-system" +#define UI_ICON_MEDIA_PLAY "media-playback-start" +#define UI_ICON_MEDIA_STOP "media-playback-stop" +#define UI_ICON_MEDIA_PAUSE "media-playback-pause" +#define UI_ICON_MEDIA_SEEK_BACKWARD "media-seek-backward" +#define UI_ICON_MEDIA_SEEK_FORWARD "media-seek-forward" +#define UI_ICON_MEDIA_SKIP_BACKWARD "media-skip-backward" +#define UI_ICON_MEDIA_SKIP_FORWARD "media-skip-forward" +#define UI_ICON_CALL_START "call-start" +#define UI_ICON_CALL_STOP "call-stop" +#define UI_ICON_CALL_INCOMING "call-incoming" +#define UI_ICON_CALL_OUTGOING "call-outgoing" +#define UI_ICON_MICROPHONE_ON "microphone-sensitivity-high" +#define UI_ICON_MICROPHONE_OFF "microphone-disabled" +#define UI_ICON_LOCKED "changes-allow" +#define UI_ICON_UNLOCKED "changes-prevent" +#define UI_ICON_SECURE "channel-secure" +#define UI_ICON_INSECURE "channel-insecure" + #endif /* UI_GTK */ @@ -124,6 +147,28 @@ #define UI_ICON_LIST_BULLET "view-list-bullet" #define UI_ICON_LIST_ORDERED "view-list-ordered" #define UI_ICON_LIST_CHECK "checkbox-checked" +#define UI_ICON_CHECKBOX "checkbox-checked" +#define UI_ICON_STAR "starred" +#define UI_ICON_VIEW_REVEAL "view-reveal" +#define UI_ICON_VIEW_CONCEAL "view-conceal" +#define UI_ICON_SETTINGS "applications-system" +#define UI_ICON_MEDIA_PLAY "media-playback-start" +#define UI_ICON_MEDIA_STOP "media-playback-stop" +#define UI_ICON_MEDIA_PAUSE "media-playback-pause" +#define UI_ICON_MEDIA_SEEK_BACKWARD "media-seek-backward" +#define UI_ICON_MEDIA_SEEK_FORWARD "media-seek-forward" +#define UI_ICON_MEDIA_SKIP_BACKWARD "media-skip-backward" +#define UI_ICON_MEDIA_SKIP_FORWARD "media-skip-forward" +#define UI_ICON_CALL_START "call-start" +#define UI_ICON_CALL_STOP "call-stop" +#define UI_ICON_CALL_INCOMING "call-incoming" +#define UI_ICON_CALL_OUTGOING "call-outgoing" +#define UI_ICON_MICROPHONE_ON "microphone-sensitivity-high" +#define UI_ICON_MICROPHONE_OFF "microphone-disabled" +#define UI_ICON_LOCKED "changes-allow" +#define UI_ICON_UNLOCKED "changes-prevent" +#define UI_ICON_SECURE "channel-secure" +#define UI_ICON_INSECURE "channel-insecure" #endif /* UI_QT */ @@ -190,6 +235,28 @@ #define UI_ICON_LIST_BULLET "list.bullet" #define UI_ICON_LIST_ORDERED "list.number" #define UI_ICON_LIST_CHECK "checklist" +#define UI_ICON_CHECKBOX "checkmark.square" +#define UI_ICON_STAR "star" +#define UI_ICON_VIEW_REVEAL "eye" +#define UI_ICON_VIEW_CONCEAL "eye.slash" +#define UI_ICON_SETTINGS "gearshape" +#define UI_ICON_MEDIA_PLAY "play.fill" +#define UI_ICON_MEDIA_STOP "stop.fill" +#define UI_ICON_MEDIA_PAUSE "pause.fill" +#define UI_ICON_MEDIA_SEEK_BACKWARD "backward.fill" +#define UI_ICON_MEDIA_SEEK_FORWARD "forward.fill" +#define UI_ICON_MEDIA_SKIP_BACKWARD "backward.end.fill" +#define UI_ICON_MEDIA_SKIP_FORWARD "forward.end.fill" +#define UI_ICON_CALL_START "phone" +#define UI_ICON_CALL_STOP "phone.down" +#define UI_ICON_CALL_INCOMING "phone.arrow.down.left" +#define UI_ICON_CALL_OUTGOING "phone.arrow.up.right" +#define UI_ICON_MICROPHONE_ON "microphone" +#define UI_ICON_MICROPHONE_OFF "microphone.slash" +#define UI_ICON_LOCKED "lock" +#define UI_ICON_UNLOCKED "lock.open" +#define UI_ICON_SECURE "lock" +#define UI_ICON_INSECURE "lock.trianglebadge.exclamationmark" #endif /* UI_COCOA */ @@ -236,6 +303,28 @@ #define UI_ICON_LIST_BULLET "" #define UI_ICON_LIST_ORDERED "" #define UI_ICON_LIST_CHECK "" +#define UI_ICON_CHECKBOX "" +#define UI_ICON_STAR "" +#define UI_ICON_VIEW_REVEAL "" +#define UI_ICON_VIEW_CONCEAL "" +#define UI_ICON_SETTINGS "" +#define UI_ICON_MEDIA_PLAY "" +#define UI_ICON_MEDIA_STOP "" +#define UI_ICON_MEDIA_PAUSE "" +#define UI_ICON_MEDIA_SEEK_BACKWARD "" +#define UI_ICON_MEDIA_SEEK_FORWARD "" +#define UI_ICON_MEDIA_SKIP_BACKWARD "" +#define UI_ICON_MEDIA_SKIP_FORWARD "" +#define UI_ICON_CALL_START "" +#define UI_ICON_CALL_STOP "" +#define UI_ICON_CALL_INCOMING "" +#define UI_ICON_CALL_OUTGOING "" +#define UI_ICON_MICROPHONE_ON "" +#define UI_ICON_MICROPHONE_OFF "" +#define UI_ICON_LOCKED "" +#define UI_ICON_UNLOCKED "" +#define UI_ICON_SECURE "" +#define UI_ICON_INSECURE "" #endif /* UI_MOTIF */ @@ -282,6 +371,28 @@ #define UI_ICON_LIST_BULLET "" #define UI_ICON_LIST_ORDERED "" #define UI_ICON_LIST_CHECK "" +#define UI_ICON_CHECKBOX "" +#define UI_ICON_STAR "" +#define UI_ICON_VIEW_REVEAL "" +#define UI_ICON_VIEW_CONCEAL "" +#define UI_ICON_SETTINGS "" +#define UI_ICON_MEDIA_PLAY "" +#define UI_ICON_MEDIA_STOP "" +#define UI_ICON_MEDIA_PAUSE "" +#define UI_ICON_MEDIA_SEEK_BACKWARD "" +#define UI_ICON_MEDIA_SEEK_FORWARD "" +#define UI_ICON_MEDIA_SKIP_BACKWARD "" +#define UI_ICON_MEDIA_SKIP_FORWARD "" +#define UI_ICON_CALL_START "" +#define UI_ICON_CALL_STOP "" +#define UI_ICON_CALL_INCOMING "" +#define UI_ICON_CALL_OUTGOING "" +#define UI_ICON_MICROPHONE_ON "" +#define UI_ICON_MICROPHONE_OFF "" +#define UI_ICON_LOCKED "" +#define UI_ICON_UNLOCKED "" +#define UI_ICON_SECURE "" +#define UI_ICON_INSECURE "" #endif /* UI_MOTIF */ @@ -327,7 +438,28 @@ UI_ICON_ID_TEXT_UNDERLINE, UI_ICON_ID_LIST_BULLET, UI_ICON_ID_LIST_ORDERED, - UI_ICON_ID_LIST_CHECK + UI_ICON_ID_LIST_CHECK, + UI_ICON_ID_CHECKBOX, + UI_ICON_ID_STAR, + UI_ICON_ID_VIEW_CONCEAL, + UI_ICON_ID_SETTINGS, + UI_ICON_ID_MEDIA_PLAY, + UI_ICON_ID_MEDIA_STOP, + UI_ICON_ID_MEDIA_PAUSE, + UI_ICON_ID_MEDIA_SEEK_BACKWARD, + UI_ICON_ID_MEDIA_SEEK_FORWARD, + UI_ICON_ID_MEDIA_SKIP_BACKWARD, + UI_ICON_ID_MEDIA_SKIP_FORWARD, + UI_ICON_ID_CALL_START, + UI_ICON_ID_CALL_STOP, + UI_ICON_ID_CALL_INCOMING, + UI_ICON_ID_CALL_OUTGOING, + UI_ICON_ID_MICROPHONE_ON, + UI_ICON_ID_MICROPHONE_OFF, + UI_ICON_ID_LOCKED, + UI_ICON_ID_UNLOCKED, + UI_ICON_ID_SECURE, + UI_ICON_ID_INSECURE }; UIEXPORT UiIcon* ui_icon(const char* name, size_t size);