lazarus/images/README.txt
2008-11-20 08:05:30 +00:00

76 lines
1.7 KiB
Plaintext

This directory contains all images needed by the IDE.
Images are stored in lazarus resource files (.lrs). Each icon is stored
in 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/sourceeditor/
../../tools/lazres ../bookmark.lrs *.png
2. codetoolsdefines.lrs
cd <lazarusdir>/images/codetoolsdefines
../../tools/lazres ../../ide/codetoolsdefines.lrs *.png
3. components_images.lrs
cd <lazarusdir>/images/
../tools/lazres components_images.lrs @components_images_list.txt
4. mainicon.lrs
cd <lazarusdir>/images/
../tools/lazres mainicon.lrs mainicon.ico
5. laz_images.lrs
cd <lazarusdir>/images/
../tools/lazres laz_images.lrs @laz_images_list.txt
rm ../main.ppu
6. splash.lrs
cd <lazarusdir>/images
./tools/lazres splash_logo.lrs splash_logo.png
7. lazdoc.lrs
cd <lazarusdir>/images/
../../tools/lazres ../ide/lazdoc.lrs @ladoc.txt
8. objectinspector_img.lrs
cd <lazarusdir>/images/
../../tools/lazres ../ideintf/objectinspector_img.lrs pg_active_row.png
Others
in form ide/editoroptions_new.lfm
images/keymaprelation.png, images/keymapcategory.png
in form ide/fpdoceditwindow.lfm
images/lazdoc/*.png