lazarus/images/README.txt
2012-03-28 00:18:22 +00:00

49 lines
1.2 KiB
Plaintext

This directory contains all images needed by the IDE.
Images are stored in lazarus resource files (.lrs). Each icon is stored
in png or xpm format.
bookmark.lrs - Icons for bookmarks
codetoolsdefines.lrs - Icons for CodeTools Defines Editor
components_images.lrs - Icons and pics for lcl components
laz_images.lrs - The icons for the speedbuttons, the menu (Open, Save,...),
package windows, codeexplorer
splash.lrs - the lazarus logo at IDE start
unitdependencies.lrs - Icons for the unit dependencies.
How to update the image resources:
Creating a lazarus resource can easily be done by the lazres program.
If you have not yet compiled lazres, go to the tools directory and type make.
1. bookmark.lrs
cd <lazarusdir>/images/
../tools/lazres bookmark.lrs sourceeditor/*.png
2. components_images.lrs
cd <lazarusdir>/images/
../tools/lazres components_images.lrs @components_images_list.txt
3. laz_images.lrs
cd <lazarusdir>/images/
../tools/lazres laz_images.lrs @laz_images_list.txt
rm ../main.ppu
4. splash.lrs
cd <lazarusdir>/images
./tools/lazres splash_logo.lrs splash_logo.png
5. lazdoc.lrs
cd <lazarusdir>/images/
../../tools/lazres ../ide/lazdoc.lrs @lazdoc.txt