XCellsOfScreen() XCellsOfScreen()
Name
XCellsOfScreen, CellsOfScreen - return size of default colormap.
Synopsis
int XCellsOfScreen(screen)
Screen *screen;
Arguments
screen Specifies the appropriate Screen structure.
Returns
The number of colorcells in the colormap.
Description
XCellsOfScreen() returns the number of colormap cells in the default colormap of the specified screen.
The C language macro CellsOfScreen() is equivalent and slightly more efficient.
See Also
XDefaultColormap*(), XDefaultDepthOfScreen(), XDefaultVisualOfScreen().
Xlib - Macro Equivalents XCellsOfScreen()