lazarus/images
2022-06-21 23:12:01 +02:00
..
actions
codecompletion
codeexplorer
codetoolsdefines
components * Added TJSONDataset to component palette (distributed with FPC since long time) 2022-03-29 19:08:14 +02:00
componenttreeview
debugger
designer
general_purpose Images: New general-purpose images by Roland Hahn. 2022-06-21 23:12:01 +02:00
icons Images: Replace lazarus*.ico files by versions in which the small images (16x16, 20x20) are a bit more "crispy". Created by Roland Hahn. 2022-01-29 12:50:46 +01:00
items
lazdoc
menu IDE/Icons: Improved visibility of some of the previously committed icons on dark background. Provided by Roland Hahn. 2022-04-06 17:22:09 +02:00
mimetypes
packages
sourceeditor
splash_source
states
windows Images: Replace icons in images/windows/ by versions adapted to the new style. Provided by Roland Hahn. 2022-02-01 12:40:27 +01:00
bookmark_images.bat
bookmark_list.txt
bookmark.res
bookmark.sh
btn_downarrow.png
components_images_list.txt * Added TJSONDataset to component palette (distributed with FPC since long time) 2022-03-29 19:08:14 +02:00
components_images.bat
components_images.res * Added TJSONDataset to component palette (distributed with FPC since long time) 2022-03-29 19:08:14 +02:00
components_images.sh
componenttreeview_list.txt
componenttreeview.bat
componenttreeview.res
copyright.txt
folder_150.png
folder_200.png
folder.png
icon-naming-spec.xml
ide_icon48x48.png IDE: Lazarus icons improvements by Roland Hahn, issue #39550 2022-01-14 02:12:00 +03:00
includefile.ico
keymapcategory.png
keymaprelation.png
laz_images_list.txt IDE: New icons for "Compile" menu items. Provided by Roland Hahn. 2022-04-04 11:48:46 +02:00
laz_images.bat
laz_images.res IDE/Icons: Improved visibility of some of the previously committed icons on dark background. Provided by Roland Hahn. 2022-04-06 17:22:09 +02:00
laz_images.sh
lazarus_about_logo.xpm
LazarusForm.bmp
LazarusForm.ico
lazaruspackage.ico
LazarusSource.bmp
LazarusSource.ico
lazdoc.bat
lazdoc.txt
lprfile.ico
mainicon.ico Images: Replace lazarus*.ico files by versions in which the small images (16x16, 20x20) are a bit more "crispy". Created by Roland Hahn. 2022-01-29 12:50:46 +01:00
mainiconproject.ico Images: fixed images/mainiconproject.ico 2022-01-29 00:52:08 +03:00
powered_by.png
powered-by.svg
README.txt
splash_logo.bat
splash_logo.png IDE: new splash logo / red banner removed. Issue #39587 2022-02-11 22:07:53 +01:00
splash_logo.res IDE: new splash logo / red banner removed. Issue #39587 2022-02-11 22:07:53 +01:00
splash_logo.xpm
template_150.png
template_200.png
template.png
vase_trans.xpm

This directory contains all images needed by the IDE.
Images are stored in FPC resource files (.res). Each icon is stored
in png or xpm format.

bookmark.res - Icons for bookmarks
codetoolsdefines.res - Icons for CodeTools Defines Editor
components_images.res - Icons and pics for lcl components
laz_images.res - The icons for the speedbuttons, the menu (Open, Save,...),
                 package windows, codeexplorer
splash.res - the lazarus logo at IDE start
unitdependencies.res - 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.res

cd <lazarusdir>/images/
../tools/lazres bookmark.res sourceeditor/*.png


2. components_images.res

cd <lazarusdir>/images/
../tools/lazres components_images.res @components_images_list.txt


3. laz_images.res

cd <lazarusdir>/images/
../tools/lazres laz_images.res @laz_images_list.txt
rm ../main.ppu


4. splash.res

cd <lazarusdir>/images
./tools/lazres splash_logo.res splash_logo.png


5. lazdoc.res

cd <lazarusdir>/images/
../../tools/lazres ../ide/lazdoc.res @lazdoc.txt



ADDING IMAGES TO LAZARUS POLICY
-------------------------------
Images in Lazarus can be under CC, GPL, LGPL, public domain or under the
LGPL-modified license.
When you are adding images to Lazarus add information about their origin in SVN
commit log and in copyright.txt. If the icons are under CC or need an acknowledgement,
be sure to update the Help->About Lazarus->Acknowledgements info.

Please use Tango icons whenever possible because they are SVG and exist in
various PNG resolutions - it will make updating icons for high-DPI easy in the
future.
You can download Tango icons from
https://packages.debian.org/sid/tango-icon-theme or directly
http://http.debian.net/debian/pool/main/t/tango-icon-theme/tango-icon-theme_0.8.90.orig.tar.gz
Use supplied ready-to-go PNGs in the needed resolution.

Please note that policy for LCL images is different (more strict).
See lcl/images/README.txt for info about LCL icon policy.

HIGH-DPI ICONS
--------------

Every icon can have its 150% and 200% version. For a 16px, the sizes are:
24px and 32px respectively.
To use a high-DPI icon, register the icon with the suffix "_150" (150%) or
"_200" (200%). See e.g. actions/laz_save_150.png