kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #07745
alternately sized icons
-
To:
KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
From:
Dick Hollenbeck <dick@xxxxxxxxxxx>
-
Date:
Sun, 25 Mar 2012 06:16:01 -0500
-
In-reply-to:
<20120323195209.GA26199@aika.discordia.loc>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20
Some talk has been brewing about providing smaller icons for those running KiCad on a
microscope.
I offer some tips here on how to do that most easily.
Suggestion as to easiest path:
*) switch to DLL/DSO based bitmap lib. All programs can dynamically link to the *same*
DLL/DSO bitmap library.
*) provide alternate bitmap DLL/DSOs, each containing a different sized set of bitmaps,
give user the choice at *installation* time.
There should be no C++ code changes required, most everything can be done from within the
one file: bitmaps_png/CMakeLists.txt
Only exception is the establishment of the PATH or LD_LIBRARY_PATH to the DLL/DSO.
Although bitmaps are generated using vector graphics to any practical size, we may find
that at smaller sizes they are too busy (even though they may be crisply generated using
INKSCAPE).
Follow ups