xref: /inferno-os/man/2/prefab-environ (revision 46439007cf417cbd9ac8049bb4122c890097a0fa)
PREFAB-ENVIRON 2
NAME
prefab: Environ - environment for ITV toolkit to provide a graphics framework for a collection of items
SYNOPSIS
.EX include "draw.m"; include "prefab.m"; prefab := load Prefab Prefab->PATH; Environ: adt { screen: ref Draw->Screen; style: ref Style; };
DESCRIPTION
The Environ type collects the Style and Screen types necessary to specify how and where to draw Prefab items.

10 screen Specifies the Screen upon which items will be displayed.

style Specifies the Style for items in an environment. To draw various items in different fonts or colors, the application should associate different Environ objects with the various. (But see also the layout functions in prefab-element (2) and prefab-compound (2)).

SOURCE
/libinterp/prefab.c /libprefab/*.c
SEE ALSO
prefab-intro (2), draw-screen (2), prefab-style (2)