XcmsCCCOfColormap(3)
π NAME π
okay so bestie, this is the XcmsCCCOfColormap(3) page β yes, the manual name is right there, weβre folding it in β and itβs all about XcmsCCCOfColormap and XcmsSetCCCOfColormap, which query and modify the CCC of a colormap. periodt. π
π¦ SYNTAX π¦
hereβs the exact signature moment, no cap:
XcmsCCC XcmsCCCOfColormap(Display *display, Colormap colormap);
XcmsCCC XcmsSetCCCOfColormap(Display *display, Colormap colormap,
XcmsCCC ccc);
π ARGUMENTS π
vibe check on the inputs:
displayβ specifies the connection to the X server.cccβ specifies the CCC.colormapβ specifies the colormap.
β¨ DESCRIPTION β¨
lowkey the whole plot: the XcmsCCCOfColormap function returns the CCC associated with the specified colormap. Once obtained, the CCC attributes can be queried or modified. Unless the CCC associated with the specified colormap is changed with XcmsSetCCCOfColormap, this CCC is used when the specified colormap is used as an argument to color functions. iconic behavior, honestly. π
The XcmsSetCCCOfColormap function changes the CCC associated with the specified colormap. It returns the CCC previously associated with the colormap. If they are not used again in the application, CCCs should be freed by calling XcmsFreeCCC. Several colormaps may share the same CCC without restriction; this includes the CCCs generated by Xlib with each colormap. Xlib, however, creates a new CCC with each new colormap. ngl, thatβs the tea. π
π SEE ALSO π
DisplayOfCCC(3)XcmsConvertColors(3)XcmsCreateCCC(3)XcmsDefaultCCC(3)XcmsSetWhitePoint(3)Xlib - C Language X Interface
go read those too, iykyk. π«Ά
X Version 11 β¨ libX11 1.8.14 β¨ XcmsCCCOfColormap(3) β okay bye bestie, go query that CCC and slay π
π
π¦ where this page comes from
- alpine 3.24: libx11-doc 1.8.14-r0 Β· X11
- arch rolling: libx11 1.8.14-1 Β· MIT AND X11
- nixos 26.05: libx11 1.8.14
- nixpkgs unstable: libx11 1.8.14
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms