mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-01 20:59:45 +01:00
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
mainicon.lrs - This is the IDE program icon.
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. mainicon.lrs
cd <lazarusdir>/images/
../tools/lazres mainicon.lrs mainicon.ico
4. laz_images.lrs
cd <lazarusdir>/images/
../tools/lazres laz_images.lrs @laz_images_list.txt
rm ../main.ppu
5. splash.lrs
cd <lazarusdir>/images
./tools/lazres splash_logo.lrs splash_logo.png
6. lazdoc.lrs
cd <lazarusdir>/images/
../../tools/lazres ../ide/lazdoc.lrs @lazdoc.txt