1
0
Fork 0

- ensured decoding of the icons is made from TK to preserve alpha channel information.

This commit is contained in:
cage 2023-09-14 17:13:22 +02:00
parent df7d47c196
commit d647465c1e
1 changed files with 23 additions and 22 deletions

View File

@ -101,25 +101,26 @@
(client-configuration:config-icons-scaling)))))) (client-configuration:config-icons-scaling))))))
(defun load-icons () (defun load-icons ()
(setf *search* (load-icon +search+)) (let ((nodgui:*use-tk-for-decoding-png* t))
(setf *back* (load-icon +back+)) (setf *search* (load-icon +search+))
(setf *open-iri* (load-icon +go+)) (setf *back* (load-icon +back+))
(setf *open-tour* (load-icon +open-tour+)) (setf *open-iri* (load-icon +go+))
(setf *refresh* (load-icon +refresh+)) (setf *open-tour* (load-icon +open-tour+))
(setf *up* (load-icon +up+)) (setf *refresh* (load-icon +refresh+))
(setf *document-delete* (load-icon +document-delete+)) (setf *up* (load-icon +up+))
(setf *document-add* (load-icon +document-add+)) (setf *document-delete* (load-icon +document-delete+))
(setf *document-accept* (load-icon +document-accept+)) (setf *document-add* (load-icon +document-add+))
(setf *document-edit* (load-icon +document-edit+)) (setf *document-accept* (load-icon +document-accept+))
(setf *folder* (load-icon +folder+)) (setf *document-edit* (load-icon +document-edit+))
(setf *star-yellow* (load-icon +star-yellow+)) (setf *folder* (load-icon +folder+))
(setf *star-blue* (load-icon +star-blue+)) (setf *star-yellow* (load-icon +star-yellow+))
(setf *arrow-up* (load-icon +arrow-up+)) (setf *star-blue* (load-icon +star-blue+))
(setf *arrow-down* (load-icon +arrow-down+)) (setf *arrow-up* (load-icon +arrow-up+))
(setf *cross* (load-icon +cross+)) (setf *arrow-down* (load-icon +arrow-down+))
(setf *bus-go* (load-icon +bus-go+)) (setf *cross* (load-icon +cross+))
(setf *dice* (load-icon +dice+)) (setf *bus-go* (load-icon +bus-go+))
(setf *gemlog-subscribe* (load-icon +gemlog-subscribe+)) (setf *dice* (load-icon +dice+))
(setf *gemlog-unsubscribe* (load-icon +gemlog-unsubscribe+)) (setf *gemlog-subscribe* (load-icon +gemlog-subscribe+))
(setf *inline-images* (load-icon +inline-images+)) (setf *gemlog-unsubscribe* (load-icon +gemlog-unsubscribe+))
(setf *text* (load-icon +text+))) (setf *inline-images* (load-icon +inline-images+))
(setf *text* (load-icon +text+))))