ref: 02cdafaa15eb5c2ccde76bbe1f1dcb0e893f4cec
parent: 40d0de7a668ea4c95cdf06af4a1554ff0be6936d
author: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date: Thu Jul 13 15:30:04 EDT 2023
Generate more common icon sizes This adds sizes 24×24 (common on Linux desktop, for instance in application bars), as well as 64×64 and 128×128 (common on Linux mobile). I kept the existing border sizes, but using the same one from 44×44 to 96×96 sounds a bit weird, it’d probably be best to revisit them at some point. Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
--- a/icons/icons.cmake
+++ b/icons/icons.cmake
@@ -81,17 +81,20 @@
add_custom_target(icons)
# All sizes of icon we make for any purpose.
-set(all_icon_sizes 96 88 48 44 32 16)
+set(all_icon_sizes 128 96 88 64 48 44 32 24 16)
# Sizes of icon we put into the Windows .ico files.
set(win_icon_sizes 48 32 16)
# Border thickness for each icon size.
+set(border_128 8)
set(border_96 4)
set(border_88 4)
+set(border_64 4)
set(border_48 4)
set(border_44 4)
set(border_32 2)
+set(border_24 1)
set(border_16 1)
set(icon_srcdir ${CMAKE_SOURCE_DIR}/icons)