X Version 11 (Release 6.1)

XmuStandardColormap(X3xmu)


XmuStandardColormap -- create standard colormap

Synopsis

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.

red_max
Specifies the red allocation.

green_max
Specifies the green allocation.

blue_max
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 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.

References

XmuAllStandardColormaps(X3xmu), XmuVisualStandardColormaps(X3xmu), XmuLookupStandardColormap(X3xmu), XmuGetColormapAllocation(X3xmu), XmuCreateColormap(X3xmu), XmuDeleteStandardColormap(X3xmu)
Xlib - C Language X Interface


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004