AJ,
I'm working on something will be called TStdImageList. It's a TImageList
descendant and is based upon a tool I have made a while ago. The tool
basically maps the position of the icons to a convieniently chosen name. The
mapping is stored in an XML file. The tool also generates a resource file
with the mapped icons.
What I propose is to use that tool as a startingpoint and convert that into
a property editor. This property editor would read the XML file used by
Lazarus (all lazarus images) and load the images into the list.
If you want I can send you the tool I've been using. As soon as I will
finish the TStdImageList I will post it on the list.
Darius
----- Original Message -----
From: "A.J. Venter" <[EMAIL PROTECTED]>
To: "Andrew Higgs" <[EMAIL PROTECTED]>; "lazarus" <[email protected]>
Sent: Wednesday, March 08, 2006 9:19 PM
Subject: Re: Button icons for lazarus
On Wednesday 08 March 2006 19:36, Andrew Higgs wrote:
Hi AJ,
Sorry about taking so long to get back to you but I have been a little
under the weather the last few days.
I have read through this thread and it seems as though the ico's aren't
really necessary. What do you think we sould do? It is pointless if no
one is going to ude them.
Aye, that seems to be the general feeling.
I have start to familiarise myself with creating icons on Linux and have
one question I hope you can answer. Does the icon specification allow
for transparency? All the ones I converted changed transparent to black.
That I would think is a bug in the converter, on image formats that
support
transparency it definitely works, the standard types on Linux is png and
xpm
and they both have alpha channel support.
Perhaps an application which starts with a list of images to produce
which allows users to select the files to be used for each one. This
would allow people to either download one of the default sets or create
their own. It could just shell execute a conversion tool.
I like this idea, let's suggest it to the list ?
We should try to link to svg files. Most of the icon libraries appear to
be svg at the moment.
Lazarus doesn't have any native support for SVG however, what happens with
the
icon sets you download is they usually contain a script to scale from the
SVG
to all the needed sizes - the reason they ship SVG is to make the download
smaller - because SVG scales without loss of quality, you can ship one set
of
SVG's with a script and provide local xpm/png files for all the standard
sizes.
Ciao
A.J.
--
"there's nothing as inspirational for a hacker as a cat obscuring a bug
by sitting in front of the monitor" - Boudewijn Rempt
A.J. Venter
Chief Software Architect
OpenLab International
www.getopenlab.com
www.silentcoder.co.za
+27 82 726 5103
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives