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; };
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.