cdogs-sdl icon indicating copy to clipboard operation
cdogs-sdl copied to clipboard

Higher resolution program icon

Open Mailaender opened this issue 7 years ago • 4 comments

https://github.com/cxong/cdogs-sdl/tree/master/build/linux has 48px max which isn't big enough and therefore won't get displayed on modern Linux menus.

Mailaender avatar Aug 12 '17 11:08 Mailaender

What resolutions are required?

cxong avatar Aug 20 '17 01:08 cxong

64x64, 128x128 and 256x256 seem to be standard nowadays. If you have a source file, a scalable one ready a .svg would solve the problem once and for all.

Mailaender avatar Aug 20 '17 07:08 Mailaender

As of current master ( ea0651ca5b17538e4bff8694edbc8b43259cee63 ):

16x16: 16x16 22x22: 22x22 32x32: 32x32 48x48: 48x48 128x128: 128x128

Note how icons 16, 22, 32 are different from the 48 and 128 ones. It seems the 128 pixel ones has just been scaled up from the 48 px one.

There are other icons as well: build/macosx/cdogs-icon.icns build/windows/cdogs-icon.ico (16, 22, 32, 48)

build/gcw-zero/cdogs-sdl.png 32px gcw-zero 32px.

The Gnome icons (/usr/share/gnome) seems to use 8, 16, 22, 24, 32, 48, 128, 256, 512. They also come with a scalable flavor which is SVG.

hashar avatar Nov 29 '17 12:11 hashar

I think it'll be good to organise the four base icon types, and create scripts that generate icon sets for each platform. This will make it easier to edit the icons in the future, and to add more icon sizes as needed.

cxong avatar May 02 '18 06:05 cxong