#

## load

Load an alternate layer colormap.

load [techStyle displayStyle monitorType]

### Usage:

> load [techStyle displayStyle monitorType]

> > where techStyle is declared by the technology (normally "mos"), displayStyle is determined by the display visual (normally "7bit", "24bit", or "OpenGL"), and monitorType is normally "std".

### Summary:

> The load command loads an alternative colormap file that can be used to change the colors used by magic for drawing layout.

> By default, without arguments, the filename searched for varies according to the display visual type, but is normally

> > mos.24bit.std.cmap for 24- and 32-bit visuals, mos.7bit.std.cmap for 8-bit visuals, and mos.OpenGL.std.cmap for OpenGL visuals.

> The current directory is searched first for local files overriding the system colormap defaults, followed by a search of the sys path as declared by the path command.

### Implementation Notes:

> load is implemented as a built-in color window command in magic. It can only be invoked from a window created with the specialopen color command.

### See Also:

> save
> path

Return to command index

Last updated: October, 2004