aboutsummaryrefslogtreecommitdiff
path: root/icons
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2023-07-13 19:30:04 +0200
committerSimon Tatham <anakin@pobox.com>2023-07-14 08:31:44 +0100
commit02cdafaa15eb5c2ccde76bbe1f1dcb0e893f4cec (patch)
tree209598925415a93d8916250c64f5a114c7b59fd4 /icons
parent40d0de7a668ea4c95cdf06af4a1554ff0be6936d (diff)
downloadpuzzles-02cdafaa15eb5c2ccde76bbe1f1dcb0e893f4cec.zip
puzzles-02cdafaa15eb5c2ccde76bbe1f1dcb0e893f4cec.tar.gz
puzzles-02cdafaa15eb5c2ccde76bbe1f1dcb0e893f4cec.tar.bz2
puzzles-02cdafaa15eb5c2ccde76bbe1f1dcb0e893f4cec.tar.xz
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>
Diffstat (limited to 'icons')
-rw-r--r--icons/icons.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/icons/icons.cmake b/icons/icons.cmake
index 2c4902b..ad971cc 100644
--- a/icons/icons.cmake
+++ b/icons/icons.cmake
@@ -81,17 +81,20 @@ set(untangle_crop 320x320 164x164+3+116)
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)