<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 09.09.2015 13:01, Juha Manninen
wrote:<br>
</div>
<blockquote
cite="mid:CAPN1EhBWp7P5-spmrNK1VN3+jehWxqp4pjTbec+Rm3e-nN3ODQ@mail.gmail.com"
type="cite">
<pre wrap="">On Wed, Sep 9, 2015 at 1:30 PM, Ondrej Pokorny <a class="moz-txt-link-rfc2396E" href="mailto:lazarus@kluug.net"><lazarus@kluug.net></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">IMO, the images are loaded only once in the IDEImageList or how it is
called, am I wrong?
</pre>
</blockquote>
<pre wrap="">
Maybe that whole loading can be threaded. One more task to my ToDo list ...
Juha
</pre>
</blockquote>
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 <b>very</b>
fast.<br>
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.<br>
With this approach I load country icons of the whole world into my
application in nearly no time.<br>
<br>
Ondrej<br>
</body>
</html>