XcupStoreColors(3CUP) CUP FUNCTION XcupStoreColors(3CUP)NAMEXcupStoreColors - Changes the colormap entries of the pixel values
specified in the pixel members of the XColor structures
SYNOPSIS
Status XcupStoreColors ( display, colormap, colors_in_out, ncolors )
Display *display;
Colormap colormap;
XColor *colors_in_out;
int ncolors;
ARGUMENTS
- display
Specifies the connection to the X server
- colormap
Specifies the colormap
- colors_out
Specifies and returns the values actually used in the colormap
- ncolors
Specifies the number of items in colors_in_out
DESCRIPTION
The XcupStoreColors function changes the colormap entries of the pixel
value in the pixel members of the XColor structures. The colormap
entries are allocated as if an AllocColor has been used instead, i.e.
the colors are read-only (shareable). XcupStoreColors returns the num‐
ber of colors that were successfully allocated in the colormap.
X v11 Rel. 6.4 11 Aug 1999 XcupStoreColors(3CUP)