Short: BOOPSI class of titlebar gadget images Author: tanti@intercom.it (Massimo Tantignone) Uploader: tanti intercom it (Massimo Tantignone) Type: dev/gui Version: 40.15 Requires: AmigaOS 3.0+ Architecture: m68k-amigaos titlebar.image 40.15 (14.5.2001) by Massimo Tantignone The titlebar.image is a shared library which, when opened, adds to the system a public BOOPSI image class called "tbiclass". This class implements several images suitable for the use as imagery of gadgets added to the titlebar of a window, such as an "iconify" image, a "pop-up" image, and so on. Also, a general purpose "empty" (border-only) image is provided, to be used as the background of more specialized titlebar images. The purpose of "tbiclass" is to offer developers an easy way to implement the most common additional titlebar gadgets without having to draw or code their imagery themselves, and with the added benefit of standardizing the size and appearance of this kind of gadgets. For instance, until now any developer needing an iconify gadget had to hard-code its imagery into his application, leading to a plethora of similar, but different, versions of the same gadget. The library is freeware; if you use it, you are allowed to distribute it with your software, typically as a stand-alone file (you'll just have to add a section for it in your application's installation script). This is a stand-alone, cut-down version of the "tbiclass" class added to the system at boot time by the VisualPrefs patch; if VisualPrefs is running, its version of the class will be used instead of this one. Changes since version 40.14: · Now the attributes IA_Width, IA_Height and IA_ReferenceFont apply to all image types, rather than only to the TBFRAMEIMAGE type. Changes since version 40.13: · Now the images look correctly also on two-color screens. Changes since version 40.12: · Corrected the height of the iconify image so that it always matches the height of the system's zoom image. · Added a new macro to automatically compute the correct horizontal position of a titlebar gadget using a "tbiclass" instance as its image. Author: Massimo Tantignone Via Campagnoli, 4 28100 Novara (NO) ITALY E-mail: tanti@intercom.it