* SVG Icon Support Starts with ARES Commander 2018
Posted by Christian Kramer on 2019-06-11 10:47

Now ARES Commander supports svg-files for the dark icon display. The change to a vector icon format has been done to support better higher display resolutions, like e.g. Retina™ under Mac. For ARES Commander 2018 we have a mix of svg- and png-icon-files. These svg-entries are added to the -area of every menu entry. You can see it in the ARES Commander 2018 application.xml.

Below the ARES Commander 2018 menu definition of the LINE command. Here we use a svg-file only for the dark and the two light icon entries iconName and smallIconName for the light UI have still png-icons.

<definition command="^C^C_LINE" darkIconName=":/images/svg_icons/Draw/Line.svg" description="Creates straight line segments:  LINE" iconName=":/images/icons/draw/line.png" iconRecource="" id="ID_LINE" lightIconName="" name="Line" smallIconName=":/images/small_icons/draw/line.png" />

Below the ARES Commander 2019 menu definition of the LINE command. Here we will use only svg-files via darkIconName and lightIconName entries.

<definition command="^C^C_LINE" darkIconName=":/images/svg_icons/dark/draw/Line.svg" description="Creates straight line segments:  LINE" iconName="" iconRecource="" id="ID_LINE" lightIconName=":/images/svg_icons/light/draw/line.svg" name="Line" smallIconName=""/>

The previous iconName and smallIconName name entries with empty settings can be also deleted.

"Retina" as trademarked by Apple Inc.