style - fonts and colors for ITV toolkit
include "draw.m";
include "prefab.m";
prefab:= load Prefab Prefab->PATH;
Style: adt
{
titlefont: ref Draw->Font;
textfont: ref Draw->Font;
elemcolor: ref Draw->Image;
edgecolor: ref Draw->Image;
titlecolor: ref Draw->Image;
textcolor: ref Draw->Image;
highlightcolor: ref Draw->Image;
};
Description
The Style type collects the font and color information for an application or a set of items within an application. Except when using the layout routines (see compound - windows for ITV toolkit and element - menu and display elements for ITV toolkit), the members of a Style are the only way to control the appearance of Prefab items. Note that although the color members in practice often refer to a literal color (a single replicated pixel of color), they can be any image.
Styles are allocated by regular Limbo definitions. There is no allocation function. All the members of a Style must be defined. Although it will not cause errors to modify the members of a Style after it has been created and passed to a Prefab routine, the results may be unpredictable.
See Also
infernosupport@lucent.com
Copyright © 1996,Lucent Technologies, Inc. All rights
reserved.