XmuStandardColormap(Xmu) X Version 11 (Release 5) XmuStandardColormap(Xmu)
6 January 1993
Name
XmuStandardColormap - create standard colormap
Syntax
cc . . . -lXmu
#include <X11/Xmu/StdCmap.h>
XStandardColormap *XmuStandardColormap(dpy, screen, visualid, depth,
property, cmap, red_max,
green_max, blue_max)
Display dpy;
int screen;
VisualID visualid;
unsigned int depth;
Atom property;
Colormap cmap;
unsigned long red_max, green_max, blue_max;
Arguments
dpy Specifies the connection to the X server.
screen Specifies the screen of the display.
visualid Specifies the visual type.
depth Specifies the visual depth.
property Specifies the standard colormap property.
cmap Specifies the colormap ID, or None.
redmax Specifies the red allocation.
greenmax Specifies the green allocation.
bluemax Specifies the blue allocation.
Description
To create any one standard colormap, use XmuStandardColormap.
This function creates a 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 cre-
ated 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.
See also
XmuAllStandardColormaps(Xmu), XmuVisualStandardColormaps(Xmu),
XmuLookupStandardColormap(Xmu), XmuGetColormapAllocation(Xmu), XmuCre-
ateColormap(Xmu), XmuDeleteStandardColormap(Xmu)
Xlib - C Language X Interface