# Screen

The unit at io/screen.fs is a very thin layer on top of [gr/pix]. It defines the
"screen" struct as a pixbuf in which pixels are [gr/color]. It supplies the
"screen" global value, which represents the main screen we want to draw to in a
system with graphical capabilities.

## API

### Fields

encoding  Color encoding of the screen struct

### Values

screen    Main screen of the system

### Words

screen# ( -- )
  Aborts with error if "screen" is zero.

newscreen ( width height encoding -- screen )
  Create a new screen struct with the supplied initial values.
