Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (2) — Plan9 3rd Edition (Vita Nuova)

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

prefab-intro(2)

draw-screen(2)

prefab-style(2)

PREFAB-ENVIRON(2)

NAME

prefab: Environ − environment for ITV toolkit to provide a graphics framework for a collection of items

SYNOPSIS

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. 

­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

­/interp/prefab.c ­/prefab/∗.c

SEE ALSO

prefab-intro(2), draw-screen(2), prefab-style(2)

Plan 9  —  June 29, 2000

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026