XcmsSetCCCOfColormap() XcmsSetCCCOfColormap()
Name
XcmsSetCCCOfColormap - change the Color Conversion Context (CCC) associated with a colormap.
Synopsis
XcmsCCC XcmsSetCCCOfColormap(display, colormap, ccc)
Display *display;
Colormap colormap;
XcmsCCC ccc;
Arguments
display Specifies the connection to the X server.
colormap Specifies the colormap.
ccc Specifies the color conversion context.
Returns
The previous Color Conversion Context.
Availability
Release 5 and later.
Description
XcmsSetCCCOfColormap() changes the CCC associated with the specified colormap. It returns the CCC previously associated with the colormap.
If the previous CCC is not used again in the application, it should be freed by calling XcmsFreeCCC().
See Also
XcmsCCCOfColormap(), XcmsCreateCCC(), XcmsFreeCCC().
Xlib - Device-independent Color XcmsSetCCCOfColormap()