Images/def_buttons
. This must be a
picture file, but the exact format isn't relevant as long as you have a
datatype installed that can read the file.
The icon that goes with the file is important. The tooltypes in the icon contain vital information, without this information AWeb cannot use the file.
You can also use your own transfer animation shown in the background status gadget.
Storage/Buttons
drawer contains a few alternate sets, and
it is a good place to store new button sets.
To install new button images, open AWeb's drawer
on your Workbench. Now you can double-click the Install_Buttons
icon. It will open a file requester from which you can pick your button set.
The install procedure will then copy the selected set to your Images
drawer.
Alternatively, you can click the Install_Buttons icon once, hold the shift key and double-click on the icon of the button set you want to install.
NOTE: You cannot install new buttons while AWeb is running.
Storage/Buttons
drawer. Save it with icon,
or add an icon later.
It is a good idea to keep the picture file as small as possible. The larger the file is, the longer it will take to load at startup time of AWeb.
Then add some tooltypes to the icon. The tooltypes tell AWeb where in your picture to look for which button image. Use the following tooltypes:
BUTTON_SIZE=width,height | This defines the width and height of each image, in pixels. |
---|---|
BACK=nx,ny,sx,sy FORWARD=nx,ny,sx,sy HOME=nx,ny,sx,sy ADDHOTLIST=nx,ny,sx,sy HOTLIST=nx,ny,sx,sy CANCEL=nx,ny,sx,sy NETSTATUS=nx,ny,sx,sy SEARCH=nx,ny,sx,sy RELOAD=nx,ny,sx,sy LOADIMAGES=nx,ny,sx,sy | These tooltypes define the location of the button imagery in
the picture, for each button. nx,ny are the x and y positions of the top left corner of the normal image. sx,sy are optional. If present, they tell the location of the selected image for this button. If a button definition is missing from the tooltypes, the built-in default image is used for that button. |
SECBUTTON_SIZE=width,height | This defines the width and height of secure link indicator image, in pixels. Default is the same width and height as the other buttons. |
SECURE=nx,ny UNSECURE=nx,ny | These two tooltypes define the location of images for the secure and unsecure status of the secure link indicator. |
NSBUTTON_SIZE=width,height | This defines the width and height of each network status button image, in pixels. Default is the same width and height as the other buttons. |
NSCANCEL=nx,ny,sx,sy NSCANCELALL=nx,ny,sx,sy | These two tooltypes define the location of images for the cancel and cancel all buttons in the network status window. |
TRANSPARENT | If this tooltype is present, and the picture was saved as a transparent brush, the images will be rendered with a transparent background. Note that this only works if the datatype supports transparency. Most regular datatypes do, one important exception is the ILBM datatype that comes with the V43 picture datatype. |