NAME
XmuStandardColormap — create one standard colormap.
SYNOPSIS
#include <X11/Xmu/StdCmap.h>
XmuStandardColormap(display, screen, visualid, depth, property, cmap,
red_max, green_max, blue_max)
Display display;
int screen;
VisualID visualid;
unsigned int depth;
Atom property;
Colormap cmap;
unsigned long red_max, green_max, blue_max;
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.
propertySpecifies the standard colormap property.
cmapSpecifies the colormap ID, or None.
red_maxSpecifies the red allocation.
green_maxSpecifies the green allocation.
blue_maxSpecifies the blue allocation.
DESCRIPTION
XmuStandardColormap creates one standard colormap for the given screen, visualid, and visual depth, with the given red, green, and blue maximum values, with the given standard property name. Upon success, it returns a pointer to an XStandardColormap structure which describes the newly created colormap. Upon failure, it returns NULL. If cmap is the default colormap of the screen, the standard colormap will be defined on the default colormap; otherwise a new colormap is created.
Resources created by this function are not made permanent; that is the caller’s responsibility.
SEE ALSO
XmuAllStandardColormaps, XmuCreateColormap, XmuDeleteStandardColormap, XmuGetColormapAllocation, XmuLookupStdCmp, XmuVisualStandardColormaps.
Xlib Reference Manual