Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ VisStdColmp(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XmuVisualStandardColormaps — create all standard colormaps for given visual and screen. 

SYNOPSIS

#include <X11/Xmu/StdCmap.h>

XmuVisualStandardColormaps(display, screen, visualid, depth, replace,

retain)
      Display ∗display;
      int screen;
      VisualID visualid;
      unsigned int depth;
      Bool replace;
      Bool retain;

ARGUMENTS

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

screenSpecifies the screen of the display. 

visualidSpecifies the visual type. 

depthSpecifies the visual depth. 

replaceSpecifies whether or not to replace the standard colormap property. 

retainSpecifies whether or not to retain the colormap resource permanently. 

DESCRIPTION

XmuVisualStandardColormaps creates all of the appropriate standard colormaps for a given visual on a given screen, and optionally redefines the corresponding standard colormap properties. 

If replace is True, any previous definition will be removed.  If retain is True, new properties will be retained for the duration of the server session.  This function returns zero on failure, non-zero on success.  On failure, no new properties will be defined, but old ones may have been removed if replace was True. 

Not all standard colormaps are meaningful to all visual classes.  This routine will check and define the following properties for the following classes, provided that the size of the colormap is not too small.  For DirectColor and PseudoColor: RGB_DEFAULT_MAP, RGB_BEST_MAP, RGB_RED_MAP, RGB_GREEN_MAP, RGB_BLUE_MAP, and RGB_GRAY_MAP.  For TrueColor and StaticColor: RGB_BEST_MAP.  For GrayScale and StaticGray: RGB_GRAY_MAP. 

SEE ALSO

XmuAllStandardColormaps, XmuCreateColormap, XmuDeleteStandardColormap, XmuGetColormapAllocation, XmuLookupStdCmp, XmuStandardColormap. 

Xlib Reference Manual

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