Class | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## screen

The class of screen objects. There is only a single screen instance, which is automatically created when Common Graphics is initialized with initialize-cg. (A possible future enhancement would support multiple monitors, each of which would have its own screen.)

The screen object is returned by the expression `(screen *system*)` (see screen and `*system*`). This object will be returned by parent when called on a top-level window, and by owner when called on a non-owned top-level window.

Drawing may be done on the screen as it is done on a window, though the drawing code must be wrapped in a with-device-context form. Care should be taken not to draw on other applications, which this allows.

This class was named windows-screen-device in releases prior to 7.0.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version