NAME
XDisplayCells, DisplayCells − query number of cells in default colormap of screen.
Synopsis
int XDisplayCells(display, screen_number)
Display *display;
int screen_number;
Arguments
displaySpecifies a connection to an X server; returned from XOpenDisplay().
screen_number
Specifies the appropriate screen number on the host server.
Description
XDisplayCells() returns the number of entries in the default colormap of the specified screen. The C language macro DisplayCells() is equivalent and slightly more efficient. This function is misnamed; it should really be XScreenCells().
See Also
XDisplayPlanes(), XDefaultColormap*().
Copyright O’Reilly & Assoc. —