Next Prev

Examples for Buttons and masks:

1. Classic: (without Gifmask)

TextButton, Highlight=Fill
                Normal                                                            Highlight

    TextButton, Highlight=Frame:                                TextButton, Highlight=Both:

2. New (with Gifmasks)
(mask: BlueButton1.GIF, 120% Rel.Size, X/YOffset=0)
TextButton, Highlight=any, No Text-Highlight in GifMask=off,
GifMask for Highlight=off, inv. GifMask als Highlight=off:
                Normal                                                            Highlight

TextButton, Highlight=any, No Text-Highlight in GifMask=off, GifMask as Highlight:

TextButton, Highlight=any, No Text-Highlight in GifMask=on, GifMask as Highlight:

Just to show all possibilities: No Text-Highlight in GifMask=any
TextButton, Highlight=any, inv. GifMask as Highlight:

... is not very interesting for this kind of button.

Adjusting Gifmasks:
To adjust the position of a mask relative to the text, you man use the X/Y offsets.
Simple case: Just move the text slightly:
Mask: BlueButton1.GIF,
100% Rel.Size, X/YOffset=0:                   100% Rel.Size, YOffset=2: (mask is moved down)

Another possibility: Buttons which 'hang' (Important: This only works if you have switched on Clip Masks!)
Example:     Normal                                                                 Highlight

Mask: BlueButton1.GIF, 110% Rel.Size, X-Offset=35, TextButtons with font size=26, alignment=left, 4 spaces before each title, all buttons moved to the right border.

3. Graphical Buttons
Consist of two parts: A picture (or clip for animated menus) and a button (normally with the exact same size), for the control of the menu function (action) and the highlighting. A mask may be used for the button as well as for the image or clip. However I would recommend using a mask for either the button or the image/clip but not both. To access the properties of an underlying image or clip use shift (or Ctrl or Alt) + right mouse button.

Classic (without Gifmask):
GraphButton, Highlight=Fill:
                          Normal                                                            Highlight

Highlight=Frame or Both                                    Highlight=Frame or Both
Button normally visible=on):                               Button normally visible=off:

4. New (with Gifmasks)
If you use a mask (BrassMask1.GIF) for the image without zoom or offset, nothing is changed, as the mask is treated like a part of the picture. GraphButton, Highlight=Fill, no mask (on the button!):
                Normal                                                            Highlight

If you use the same mask for the button, and set GifMask for HighLight then it looks different:
Mask: BrassMask1.GIF legt (Rel.Size=100%, X/Y-Offset=0; GifMask as Highlight
                Normal                                                            Highlight

As the mask is set into the same frame, the image is 'cropped'. If you want to keep more of the image, rise the Rel.Size:
Mask: BrassMask1.GIF (Rel.Size=110%, X/Y-Offset=0; GifMask as Highlight)
                Normal                                                            Highlight

The inverted GifMask as Highlight uses the transparent part of the Gif image for highlight
Mask: BrassMask1.GIF (Rel.Size=110%, X/Y-Offset=0; inv. GifMask as Highlight)

"Effect-mask" (StarMask.GIF), Rel.Size=102%, X/Y-Offset=0; inv. GifMask as Highlight
                Normal                                                       Highlight
Remark: For this kind of mask the visible part of the Gif image must be the same color (or picture) as the background (the "star" is transparent)

If you want to create your own Gifmasks, see: Short description for creating GifMasks