Previous Page Index Next Page

ToolIcons mapping file

Each line consists of a marker, a colon, a value and an optional comma and parameter.

The Standard toolbar markers have values as follows

Default
Icon
MarkerDescription
0 BACK Move back one page
1 HOME Move forward one page (assuming you just went back)
2 FORWARD
3 RELOAD
4 WORLD (animated)
5 HISTORY
6 EDIT Open the page in your editor
7 HOTLIST Open a hotlist
8 PRINT
9 HOTPLUS Add to a hotlist
10STOP Stop the current fetch
11SEARCH Search the page
12IMAGES Turn image on and off
13WEBSEARCHOpen the WebSearch page
14URL Where you can type in the URL, therefore writable
15Label (not used)
16SCRIPT Icon to turn JavaScript on and off
17SAVE Icon to open the save window.
18MARK1 Set and goto Marker 1 as in Browse
19MARK2 Set and goto Marker 2 as in Browse
20MARK3 Set and goto Marker 3 as in Browse
21MARK4 Set and goto Marker 4 as in Browse
22INFO Icon for information display
23PERCENTAGEgraphic percentage indicator
24PERCENTAGEVtext based percentage indicator
??MARK5
??MARK6
??MARK7
??MARK8

Each markers value gives the icon number of the relevant object in the *new* templates. All templates icon numbers must be the same, and should all exist. Though they may not all be visible. Each toolbar can have different numbers of icons, but there is only one mapping file. A negative icon number (even -0) indicates that that icon number refers to the infobar rather than the toolbar.

Parameters

Most markers have one parameter, the icon number. This number may be negative! in this case the icon is in the infobar rather than the toolbar. This allows you to move buttons to the infobar.

There are one or two exceptions to the normal parameters as follows...

WORLD<n>[,<validation string>]
nThe icon number to animate.
validationstringThe icon validation string to which a number can be appended to cause the icon to spin
e.g. if the icon to animate is number 2 in the infobar, the spinning icons are named a0, a1, a2 etc and the special still icon is ax. Then the parameter would be -2,Sax,a.
The default validationstring is Sstate1,pstate

The bits in < and > are mandatory, those in [ and ] are optional.

Extras

These extras dont relate directly to icons in the toolbar or infobar, but control how the icons are displayed and used.

KEEPRIGHT 1Comma separated list of icons that move with the right side of the 'WTools' toolbar (Buttons)
KEEPRIGHT2 Comma separated list of icons that move with the right side of the 'UTools' toolbar (URL)
KEEPRIGHT3 or KEEPRIGHTComma separated list of icons that move with the right side of the 'Tools' toolbar (URL + buttons)
KEEPRIGHT4 Comma separated list of icons that move with the right side of the infobar window
PERCENTAGECOLOURWimp colour for the percentage graph
PERCENTAGEBACKGROUNDWimp colour for the background of the percentage graph
RESIZE1Comma separated list of icons that will be resized to keep their right sides the same distance fro the right side of the 'WTools' toolbar (Buttons)
RESIZE2Comma separated list of icons that will be resized to keep their right sides the same distance fro the right side of the 'UTools' toolbar (URL)
RESIZE3 or RESIZEComma separated list of icons that will be resized to keep their right sides the same distance fro the right side of the 'Tools' toolbar (URL + Buttons)
RESIZE4Comma separated list of icons that will be resized to keep their right sides the same distance fro the right side of the infobar window

You can have the Main and InfoBar templates in the Templates file for a skin.


Andrew Pullan,