lazarus/images
michael 18e51d5ac6 * Add JSON Dataset, long overdue
git-svn-id: trunk@58811 -
2018-09-01 10:05:53 +00:00
..
actions IDE: New restore_default and restore_defaults icons. Use more icons in Options GUI. Issue #33997, icon patch from FTurtle. 2018-08-31 10:09:04 +00:00
codecompletion IDE: add images for r57110 #203b6860ad. issue #32983, patch from regs 2018-01-18 08:20:06 +00:00
codeexplorer IDE: delete unused icons 2018-01-20 10:57:49 +00:00
codetoolsdefines
components * Add JSON Dataset, long overdue 2018-09-01 10:05:53 +00:00
componenttreeview
debugger More gutter images at high DPI 2018-07-13 12:40:54 +00:00
designer IDE: High-DPI new icons. Issue #32508. Patch by FTurtle 2017-10-13 12:33:43 +00:00
icons debian: lazarus deb now builds without lintian errors 2017-05-19 14:21:38 +00:00
items IDE: High-DPI icons. Issue #32454. Patch by FTurtle 2017-09-26 20:24:35 +00:00
lazdoc
menu Two new toolbar commands for bookmarks. Issue #0033947 Patch by FTurtle 2018-07-13 12:23:16 +00:00
mimetypes
packages
sourceeditor IDE: SourceEditor, Messages, InitDlg, de-duplicate state images. SourceEditor now uses same images as rest of IDE. 2018-08-12 13:47:28 +00:00
splash_source
states IDE: SourceEditor, Messages, InitDlg, de-duplicate state images. SourceEditor now uses same images as rest of IDE. 2018-08-12 13:47:28 +00:00
windows
bookmark_images.bat
bookmark_list.txt IDE: SourceEditor, Messages, InitDlg, de-duplicate state images. SourceEditor now uses same images as rest of IDE. 2018-08-12 13:47:28 +00:00
bookmark.res IDE: SourceEditor, Messages, InitDlg, de-duplicate state images. SourceEditor now uses same images as rest of IDE. 2018-08-12 13:47:28 +00:00
bookmark.sh
btn_downarrow.png
components_images_list.txt * Add JSON Dataset, long overdue 2018-09-01 10:05:53 +00:00
components_images.bat
components_images.res * Add JSON Dataset, long overdue 2018-09-01 10:05:53 +00:00
components_images.sh
componenttreeview_list.txt
componenttreeview.bat
componenttreeview.res
copyright.txt IDE: New restore_default and restore_defaults icons. Use more icons in Options GUI. Issue #33997, icon patch from FTurtle. 2018-08-31 10:09:04 +00:00
folder.png
icon-naming-spec.xml
ide_icon48x48.png
includefile.ico
keymapcategory.png
keymaprelation.png
laz_images_list.txt IDE: New restore_default and restore_defaults icons. Use more icons in Options GUI. Issue #33997, icon patch from FTurtle. 2018-08-31 10:09:04 +00:00
laz_images.bat
laz_images.res IDE: New restore_default and restore_defaults icons. Use more icons in Options GUI. Issue #33997, icon patch from FTurtle. 2018-08-31 10:09:04 +00: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
mainiconproject.ico
powered_by.png
powered-by.svg
README.txt Images: add information about copyright.txt into README 2017-12-10 16:39:19 +00:00
splash_logo.bat
splash_logo.png
splash_logo.res
splash_logo.xpm
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