On 09.09.2015 13:01, Juha Manninen wrote:
On Wed, Sep 9, 2015 at 1:30 PM, Ondrej Pokorny <[email protected]> wrote:
IMO, the images are loaded only once in the IDEImageList or how it is
called, am I wrong?
Maybe that whole loading can be threaded. One more task to my ToDo list ...
Juha
Oh that would cause a lot of trouble. If you want to speed up image
loading, load all the default icons at once at IDE start. The same as
TImageList is loading its icons from a LFM form. That's *very* fast.
It would mean creating a single resource stream for all the icons (e.g.
with a small command line tool) instead of using "lazres laz_images.res
@laz_images_list.txt". This is definitely the fastest way to load the icons.
With this approach I load country icons of the whole world into my
application in nearly no time.
Ondrej
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus