← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] kicad icons for OSX

 

Le 15/09/2011 17:46, Jerry Jacobs a écrit :
2011/9/15 jp.charras<jp.charras@xxxxxxxxxx>

Le 15/09/2011 11:07, fabrizio a écrit :

jean-pierre,
ok, now worries, I guess I just did not upload them. well in
attachment you can find the folder "icons" that I think should replace
the current content of the "bitmaps_png/icons" folder. Inside there
are all main .ico files for kicad as well as .icns files for user who
what to build it for OS X.

It would be great if OSX people could use these icons instead of the
ones spread here and there.

Also, I think the current version of Linux does not seem to use high
resolution icons

Let me know if in somehow do not meet your needs.

cheers
Fabrizio


I saw new .ico files (in icons.zip) are in 256x256 pixels.

I don't know if this very large size is useful for OS X, but Windows needs
32x32 pixels format.


In OS X we have a icon format ranging from 16x16 till 1024x1024 pixels, so
this is not really a problem.


256x256 format gives very large files (350KB instead of 8KB) and are always
displayed as 16x16 or 32x32 pixels.
The icon_3d.ico file is useless (the 3D frame cannot be called outside
CvPcv or Pcbnew).
Under Windows the .ico files are used only to create a resource file, and
not inside sources.
Under linux, .ico files are not used.


Under OS X the .icns files are used and copied inside the .app folders.


Only icon_kicad.xpm or icon_kicad.png are used, and only to create a
desktop shortcut to Kicad

For desktop shortcuts, formats bigger than 48x48 (or perhaps 64x64) are not
very usable.
(You can display only few 256x256 icons on an usual monitor)

So currently I am reluctant to change 32x32 or 48x48 icon files by 256x256
icon very large file


I will recreate the .icns files from the svg sources by hand and you
Linux/Windows people don't have to worry about it. If there are things that
don't fit well I or other OS X people will comment on the suggestion(s) or
email(s).

Kind regards,
Jerry


Good.
If hight resolution icons are not mandatory,
I keep current 32x32 icons *needed* to compile Kicad under Window.
And just keep .icns in sources.


In kicad sources (resources folder), there are a lot of png (and other) files.
I believe most of them are outdated or useless,
and there is no info about their purpose.
If nobody complains I'll remove them in some days.
--
Jean-Pierre CHARRAS



References