#include <X11/Xmu/StdCmap.h>Status XmuVisualStandardColormaps(dpy, screen, visualid, depth, replace, retain) Display *dpy; int screen; VisualID visualid; unsigned int depth; Bool replace; Bool retain;
If replace is True, any previous definition will be removed. If retain is True, If replace is True, If replace is True, If replace is True, new properties will be retained for the duration of the server session. This function returns 0 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 the routine checks: RGB_DEFAULT_MAP, RGB_BEST_MAP, RGB_RED_MAP, RGB_GREEN_MAP, RGB_BLUE_MAP, and RGB_GRAY_MAP. For TrueColor and StaticColor the routine checks: RGB_BEST_MAP. For GrayScale and StaticGray, the routine checks: RGB_GRAY_MAP.