Creating and Naming Graphics

All graphics used in TB Start are contained in the Graphics Subdirectory. It is important to create each graphic file to avoid error messages. Here is some additional information and assistance for creating the graphic files:

Positioning Graphics - Determining Coordinates

Graphic File Formats

PhotoShop Actions Included with TB Start

 

The following table describes the use of each graphic.

 

Graphic Name(s)

Use

background.bmp

This is the background image to the TB Start window. This size of this image determines the size of the window. This image is always loaded unless the useBackgroundGrid setting is True. In that case, the backgroundgrid.bmp file is used instead. You can reference a graphic of a different name using the WindowBitmap setting.

 

backgroundgrid.bmp

If the useBackgroundGrid setting is True, then this graphic is used as the background image instead of background.bmp. This allows you to mark the precise locations of the individual buttons for alignment purposes. See the Positioning Graphics - Determining Coordinates topic for more information.

 

documentdown.bmp

documentrollover.bmp

documentup.bmp

 

These graphics provide the invert, "rollover", and normal states respectively for the Document button. They are only necessary if the HasDocument setting is True.

exitdown.bmp

exitrollover.bmp

exitup.bmp

 

These graphics provide the invert, "rollover", and normal states respectively for the Exit button.

helpdown.bmp

helprollover.bmp

helpup.bmp

 

These graphics provide the invert, "rollover", and normal states respectively for the Help button. They are only necessary if the HasHelp setting is True.

installdown.bmp

installrollover.bmp

installup.bmp

 

These graphics provide the invert, "rollover", and normal states respectively for the Install button. These graphics are used when the user has not yet installed the application. This is determined by the RanInstallRootKey, RanInstallRegistryKey, and RanInstallRegistryValue settings.

 

reinstalldown.bmp

reinstallrollover.bmp

reinstallup.bmp

 

These graphics provide the invert, "rollover", and normal states respectively for the "reinstall" button. These graphics are used once the user already installed the application. This is determined by the RanInstallRootKey, RanInstallRegistryKey, and RanInstallRegistryValue settings.

 

runauthordisabled.bmp

This graphic is used for the "author" button when CheckTBAuthorMode is set to True and the application has not yet been installed.

 

runauthordown.bmp

runauthorrollover.bmp

runauthorup.bmp

 

These graphics provide the invert, "rollover", and normal states respectively for the "author" button. They are only necessary if the CheckTBAuthorMode setting is True.

 

rundisabled.bmp

This graphic is used for the "runtime" button when CheckTBAuthorMode is set to False and the application has not yet been installed.

 

rundown.bmp

runrollover.bmp

runup.bmp

 

These graphics provide the invert, "rollover", and normal states respectively for the "runtime" button. They are used both when the CheckTBAuthorMode setting is False or if author-level ToolBook is not detected on the user's machine (when the CheckTBAuthorMode setting is True).

 

runruntimedisabled.bmp

This graphic is used for the "runtime" button when CheckTBAuthorMode is set to True and the application has not yet been installed.

 

runruntimedown.bmp

runruntimerollover.bmp

runruntimeup.bmp

 

These graphics provide the invert, "rollover", and normal states respectively for the "runtime" button. They are only necessary if the CheckTBAuthorMode setting is True.

 

sample.ico

This is the icon file used by the Autorun window. You list the name of this file using the WindowIcon setting.