Toolbar Buttons > Button Edition
To edit toolbar buttons click the
Set Toolbar button on Interface Tab and then click on the button you want to edit in the Toolbar Preview window.
Selecting and providing images for the buttons
On the right you will see the images at the selected directory and below then the directory and drive selection boxes. HyperMaker includes some buttons on the button folder, inside HyperMaker directory and because that, by default it will show the content of that folder.
Use the right-top Mask listbox to show only the buttons that you are looking for, you can select predefined mask to see only specific buttons (like print, home, etc.)..
To supply your own buttons, save them as Windows Bitmap images, with .bmp
file extension. Although you can save them wherever you want, it would be a
good idea to add them to the button folder in order to have all
the button images in the same place.
The buttons supplied with HyperMaker are six series of buttons, numbered from 0 to 5. The first series uses the images shown by default.
The recommended image size for custom images is about 20x20 pixels, but it is up to you to set any size you want to use.
If you choose to show the buttons titles it is important to keep all button images height to the same size, otherwise the buttons titles would be misaligned.
Each image may also have a NOFOCUS and DISABLED version, so the main image is shown only when the mouse cursor is over the button, the NOFOCUS image will be shown when the mouse is not over it and the DISABLED image will appear when the button is disabled (only the back, forward, previous and next buttons may be disabled).
If you use 16 color bitmaps, the image should have a black outline, if not
the image will not be properly displayed, unless you define a NOFOCUS image.
Your own image will be shown when the mouse is over the toolbar button but, if a NOFOCUS image is not provided, HyperMaker will create a grayscale image that will be shown when the mouse is not over the button (the so-called NOFOCUS image). Notice that all default buttons on the toolbar, except the EXIT button, display a grayscale image when the mouse is not over them. HyperMaker needs outlined images to create properly the grayscale NOFOCUS images, but this applies only to 16 color images. When using 16 color images HyperMaker will gray all pixels that are not either black or white, to create the NOFOCUS image.
If your image has more than 16 color depth HyperMaker will not gray it for you, so you may wan to provide a custom, color NOFOCUS image.
To do so, simply provide a second image for each button and add "_NOFOCUS" between the filename and the file extension or add "NOFOCUS_" in front of the filename, place the image in the same directory that the first image. For example, if the custom image for the print function is named "print.bmp", the corresponding nofocus image would be "print_NOFOCUS.bmp" or "NOFOCUS_print.bmp". In such case, you will not be constrained to use outlined images.
You may also also include the DISABLED images for the back, forward, previous and next buttons. Simply provide another image for each button and add "_DISABLED" between the filename and the file extension or add "DISABLED_" before the filename, place the image in the same directory that the first image.
Example
| Selected image filename | NOFOCUS filename | DISABLED filename |
05_print.bmp |
05_print_nofocus.bmp |
The Print button never is disabled.
|
05_back.bmp |
05_back_nofocus.bmp |
05_back_disabled.bmp |
Configuring button commands and titles
Just below the left area where you can preview the button image there are several options to configure how the current button will work and its title.
Command: |
The command can be any predetermined macro, the name of a file to be opened inside the ebook or a program to be run. Note: By default the buttons are linked to macros in order to perform standard actions like find, close, print, etc. |
| Title: |
Titles will appear below the images only if the Show Titles options was selected in the previous window. |
| Embedded Image | |
If you click on Standard Buttons, and select one of the buttons in a list, a default image and command will be selected for the current button and also the Embedded Image notice will appear, indicating that the Ebook will use an image that is part of the program. Clear Image will disassociate the image with the current button. |
|