Icons: Difference between revisions

From FreeMind
Jump to navigationJump to search
m (Reverted edit of Yvyfyjeh, changed back to last version by Dan Polansky)
(revert to last full version)
Line 1: Line 1:
==Node icons==
==Node icons==
Node icons are icons that a user can attach to a node, offered in the left toolbar.
Node icons are icons that a user can attach to a node, offered in the left toolbar.
==User icons==
In FreeMind 0.9.0 beta, you can add your own icons to your minds maps, alongside the standard set of icons delivered with FreeMind, such as the priority icons or the flower icon. To do that, add PNG files of your icons to the folder '''<user_home>'''/.freemind/icons. FreeMind treats all *.png files in '''<user_home>'''/.freemind/icons as user icons, offering them in the list of available icons.
The size of icons can be arbitrary, not limited to 16 x 16 pixels.
If you send a mind map with your custom icons to another person, the person won't be able to see the icons, though, as the icon files are only stored at your local computer. To see the same icons as you do, the receiver of your mind map has to copy your icon files to his local folder with user icons.
==Tool icons==
Tool icons are icons used in the menus and toolbars of FreeMind to represent tools or actions, such as "Save". Tool icons are not meant to be changed by users, but they can be changed. If you are a technically minded user, you can set your own tool icons by replacing the standard ones in the "Freemind.jar" file. To do that, you need to unzip the "Freemind.jar" file, replace the icons, and zip it again. ''TODO: Describe the location of the icons in the zip file.''
==Implementation==
Implementation of node icons and user icons:
Classes and methods:
* [http://freemind.cvs.sourceforge.net/viewvc/freemind/freemind/freemind/modes/mindmapmode/MindMapController.java?view=log MindMapController.addIconsToMenu]
* [http://freemind.cvs.sourceforge.net/viewvc/freemind/freemind/freemind/modes/MindIcon.java?view=log MindIcon]
* [http://freemind.cvs.sourceforge.net/viewvc/freemind/freemind/freemind/modes/actions/IconAction.java?view=log IconAction]
Various:
* Location of PNG files of tool icons: [http://freemind.cvs.sourceforge.net/viewvc/freemind/freemind/images/icons/ freemind/images/icons/]
* Location of user icons: ~/.freemind/icons
==Sources of icons==
FreeMind uses (a) tool icons used in the toolbars, and (b) node icons attached to nodes. Especially for the node icons, a good comprehensive source of free icons is needed. FreeMind uses PNG icons, in the size of 16 x 16. Nowadays many icons are drawn in SVG vector format first, and converted to 16 x 16 bitmap images afterwards.
Ideally, it would not be the task of FreeMind team to draw icons; this task should be outsourced instead. Whether this is a realistic assumption remains to be seen.
Sources of free icons:
* [http://freemind.sourceforge.net/Icon%20pack%20for%20Freemind.zip Icon Pack] from Christopher Belliard. Thanks!
* [http://www.kde-look.org/index.php?xcontentmode=22x27 Icons at kde-look]
* [http://www.gnome-look.org/index.php?xcontentmode=120 Icons at gnome-look]
* [http://www.everaldo.com/crystal/ Crystal icons] &mdash; an icon set often used in KDE desktop environment
* [http://tango-project.org/Tango_Desktop_Project Tango Desktop Project] &mdash; an icon library for KDE and Gnome, licenced under Creative Commons Attribution Sharealike
* [http://www.famfamfam.com/lab/icons/silk/ Silk icons] &mdash; 1000 icons licenced under Creative Commons attribution license
* [http://www.openclipart.org/ Open Clip Art Library] &mdash; a library used for some Mediawiki icons, mostly not suitable as a source of icons but rather as of clipart
* [http://commons.wikimedia.org/wiki/Category:PD_OpenClipart Open Clipart at Wikimedia commons]
More relevant links
* [http://jimmac.musichall.cz/icons.php Icons by Jimmac]
==Limitations==
* User icons are not stored in the mind map, so another person who receives an email with a mind map that contains custom user icons does not see the custom icons.
* Node icons are PNG images instead of SVG images, so they scale up poorly upon zooming.
==Terminology==
; node icon : An icon that a user can attach to a node, offered in the left toolbar.
; tool icon : An icon that is assigne to a tool or action such s "Save as" or "Unfold".
; user icon : A node icon that is not part of the standard FreeMind, but rather is added by a user.
[[Category:Development]]

Revision as of 12:17, 22 November 2010

Node icons

Node icons are icons that a user can attach to a node, offered in the left toolbar.

User icons

In FreeMind 0.9.0 beta, you can add your own icons to your minds maps, alongside the standard set of icons delivered with FreeMind, such as the priority icons or the flower icon. To do that, add PNG files of your icons to the folder <user_home>/.freemind/icons. FreeMind treats all *.png files in <user_home>/.freemind/icons as user icons, offering them in the list of available icons.

The size of icons can be arbitrary, not limited to 16 x 16 pixels.

If you send a mind map with your custom icons to another person, the person won't be able to see the icons, though, as the icon files are only stored at your local computer. To see the same icons as you do, the receiver of your mind map has to copy your icon files to his local folder with user icons.

Tool icons

Tool icons are icons used in the menus and toolbars of FreeMind to represent tools or actions, such as "Save". Tool icons are not meant to be changed by users, but they can be changed. If you are a technically minded user, you can set your own tool icons by replacing the standard ones in the "Freemind.jar" file. To do that, you need to unzip the "Freemind.jar" file, replace the icons, and zip it again. TODO: Describe the location of the icons in the zip file.

Implementation

Implementation of node icons and user icons:

Classes and methods:

Various:

Sources of icons

FreeMind uses (a) tool icons used in the toolbars, and (b) node icons attached to nodes. Especially for the node icons, a good comprehensive source of free icons is needed. FreeMind uses PNG icons, in the size of 16 x 16. Nowadays many icons are drawn in SVG vector format first, and converted to 16 x 16 bitmap images afterwards.

Ideally, it would not be the task of FreeMind team to draw icons; this task should be outsourced instead. Whether this is a realistic assumption remains to be seen.

Sources of free icons:

More relevant links

Limitations

  • User icons are not stored in the mind map, so another person who receives an email with a mind map that contains custom user icons does not see the custom icons.
  • Node icons are PNG images instead of SVG images, so they scale up poorly upon zooming.

Terminology

node icon
An icon that a user can attach to a node, offered in the left toolbar.
tool icon
An icon that is assigne to a tool or action such s "Save as" or "Unfold".
user icon
A node icon that is not part of the standard FreeMind, but rather is added by a user.