NAME
XmuGetColormapAllocation — determine best allocation of reds, greens, and blues in a standard colormap.
SYNOPSIS
#include <X11/Xmu/StdCmap.h>
Status XmuGetColormapAllocation(vinfo, property, red_max, green_max,
blue_max)
XVisualInfo ∗vinfo;
Atom property;
unsigned long ∗red_max, ∗green_max, ∗blue_max;
ARGUMENTS
vinfoSpecifies visual information for a chosen visual.
propertySpecifies one of the standard colormap property names.
red_maxReturns maximum red value.
green_maxReturns maximum green value.
blue_maxReturns maximum blue value.
DESCRIPTION
XmuGetColormapAllocation determines the best allocation of reds, greens, and blues in a standard colormap.
XmuGetColormapAllocation returns zero on failure, non-zero on success. It is assumed that the visual is appropriate for the colormap property.
SEE ALSO
XmuAllStandardColormaps, XmuCreateColormap, XmuDeleteStandardColormap, XmuLookupStdCmp, XmuStandardColormap, XmuVisualStandardColormaps.
Xlib Reference Manual