Icon Packs
From PhexWiki
Starting with Phex 3.0 support for multiple custom icon packs is available. This adds an easy way to customize the look of Phex.
[edit]
Create your own IconPack
This little guide should help you to create your own IconPack. In this guide $PHEX_HOME references your Phex installation folder.
- Create a directory called 'ext' in your Phex installation folder.
- Create a file called iconpack.list in the just created $PHEX_HOME/ext directory.
- Add a single line to the iconpack.list file:
Icon Pack Example = example.Icons
- Create a directory called 'example' in the $PHEX_HOME/ext directory.
- Add a custom image file with the name example.png to the just created $PHEX_HOME/ext/example directory.
- Download the Phex 3 icon pack definition file Icons.properties and save it in the $PHEX_HOME/ext/example directory.
- Open the file and look for the line starting with Search.Tab
- Replace the line with the following:
Search.Tab = /example/example.png
- Start Phex, open the User Interface Options and set the icon pack to Icon Pack Example
- Restart Phex
- You should now see your custom image as the icon for the Search tab.
[edit]
The 'iconpack.list' file
- Each line in the file represents a single icon pack definition.
- The format of a line is: <Icon Pack Name> = <Resource Path>
- You can choose any name for the icon pack.
- The resource path a '.' separated path relative from the 'ext' directory to the definition file of the icon pack.
[edit]
The 'Icons.properties' file
- Each line in file represents a association between a icon identifier and the path to the icon file.
- The format of a line is: <identifier> = <icon path>
- The identifiers are defined by the Phex team and should not be modified.
- The icon path is a full absolut path from the 'ext' directory to the icon file.


