|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home GuiPack OnOffBut Editing the button resources|
|See also: Transparent, Button image format|
Editing the button resources
The TOnOffButton component retrieves the required button image (depending on the property ButtonStyle) from the resource file SDL_onoffbut.res. If you want to adapt the buttons you can easily edit this resource file by an external resource file editor (see Hint below).
The resource file currently contains the following bitmaps:
Five of the images in the resource file (USER1..USER5) are reserved for user-specific buttons. You have to edit the resource file to override the default glyphs.