bitmap-label.ss: Bitmap Labels

To load: (require (lib "bitmap-label.ss" "mrlib"))

(make-bitmap-label string bitmap-or-path [font])      PROCEDURE

Constructs a bitmap label suitable for use a button that contains the image named by bitmap-or-path followed by the text in string.

(bitmap-label-maker string bitmap-or-path)      PROCEDURE

OBSOLETE. Use make-bitmap-label instead.

This function takes a string and bitmap% (or filename) and returns a function that takes a container and generates a bitmap. The container determines the font that is used for the bitmap label. The result is a bitmap (with a mask) that is suitable for use as a button% label.