In addition to the Screen structure, Intuition uses some other supporting structures defined in the include file <intuition/screens.h> and in <utility/tagitems.h>. (see the amiga rom kernel reference manual: Includes and Autodocs for a complete listing.) Table 3-2: Data Structures Used with Intuition Screens Structure Name Description Defined in Include File -------------- ----------- ----------------------- screen main intuition structure that <intuition/screens.h> defines a screen (see above) drawinfo holds the screen's pen, font <intuition/screens.h> and aspect data for Intuition tagitem general purpose parameter <utility/tagitem.h> structure used to set up screens in V36 NewScreen Parameter structure used to <intuition/screens.h> create a screen in V34 ExtNewScreen An extension to the NewScreen <intuition/screens.h> structure used in V37 for backward compatibility with older systems As previously mentioned, there is an intuition screen structure (and a corresponding graphics viewport) for every screen in memory. under Release 2, whenever a new screen is created, Intuition also creates an auxiliary data structure called a DrawInfo. The drawinfo structure is similar to a rastport in that it holds drawing information. But where a RastPort is used at the lower graphics level, the DrawInfo structure is used at the higher Intuition level. Specifically, DrawInfo contains data needed to support the New Look of Intuition in Release 2. (For more information see the section below, "drawinfo and the 3d look".) Another new feature of Release 2 is tag items. a tagitem is a general purpose parameter structure used to pass arguments to many of the functions in the Release 2 system software. Each tag consists of a LONG tag ID (ti_tag) and a long tag data value (ti_data). with screens, tag items are used to describe the attributes an application wants for a new, custom screen. tag items replace the newscreen structure, the set of parameters used in older versions of the OS to set up a screen. Applications may wish to use tag items to set up a new screen instead of the newscreen structure since tag items are often more convenient. for the sake of backwards compatibility, the extnewscreen structure is available. ExtNewScreen combines the NewScreen method used to define screens in older versions of the OS with the tag item method used in Release 2. The examples listed in the next section show how these various data structures can be used to set up a new screen.