Commit 76a48aab authored by Alexander Diewald's avatar Alexander Diewald

Icons: Add icons, windows icon file, instructions

Issue-Ref: 3620
Issue-Url: https://af3-developer.fortiss.org/issues/3620Signed-off-by: Alexander Diewald's avatarAlexander Diewald <diewald@fortiss.org>
parent 773560b6
......@@ -73,7 +73,7 @@
version="0.0.0"
unpack="false"/>
<plugin
<plugin
id="org.fortiss.tooling.spiderchart.ui"
download-size="0"
install-size="0"
......
**Instructions to create/modify the windows icon**
* Use GIMP to edit the file icon.xcf: It contains 7 layers of images,
one for each required icon.
* The list of required images can be found at
https://git.eclipse.org/c/equinox/rt.equinox.p2.git/tree/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/pde/internal/swt/tools/IconExe.java
Enumeration from 2019-02-12:
1. 256x256, 32 bit (RGB / Alpha Channel)
2. 48x48, 32 bit (RGB / Alpha Channel)
3. 32x32, 32 bit (RGB / Alpha Channel)
4. 16x16, 32 bit (RGB / Alpha Channel)
5. 48x48, 8 bit (256 colors)
6. 32x32, 8 bit (256 colors)
7. 16x16, 8 bit (256 colors)
* Each of these images is stored as a separate bmp file.
* In order to create a new image, open the af3_icon_squared.bmp file in Gimp and
scale it to the required size (upper folder). Store the result as a bmp file.
* Next, copy the layer and insert in the open "icon.xcf" file in GIMP.
* Select the newly created layer and "Add as new layer" (or similar).
* Name the layer appropriately (F2 key) and save the result.
* Export the result to a file named "icon.ico". In the export dialog, there are
two major things to look for:
* The bit sizes of the layers must correspond to the above enumeration (unordered).
* Each layer must be uncompressed.
......@@ -56,15 +56,9 @@ governing permissions and limitations under the License.
<launcher name="autofocus3-phoenix">
<linux icon="icons/dock_icons/icon128.xpm"/>
<macosx icon="icons/dock_icons/icon128.icns"/>
<win useIco="false">
<bmp
winSmallHigh="icons/dock_icons/icon16.bmp"
winSmallLow="icons/dock_icons/icon16_8bit.bmp"
winMediumHigh="icons/dock_icons/icon32.bmp"
winMediumLow="icons/dock_icons/icon32_8bit.bmp"
winLargeHigh="icons/dock_icons/icon48.bmp"
winLargeLow="icons/dock_icons/icon48_8bit.bmp"
winExtraLargeHigh="icons/dock_icons/icon256.bmp"/>
<win useIco="true">
<ico path="icons/dock_icons/icon.ico"/>
<bmp/>
</win>
</launcher>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment