1XCUP(3)                           X FUNCTIONS                          XCUP(3)
2
3
4

NAME

6       XcupGetReservedColormapEntries  - list colormap entries reserved by the
7       system
8

SYNOPSIS

10       cc [ flag ... ] file ... -lXext [ library ... ]
11       #include <X11/extensions/Xcup.h>
12
13       Status XcupGetReservedColormapEntries(Display *display,
14              int screen, XColor **colors_out, int *ncolors);
15

ARGUMENTS

17       display   Specifies the connection to the X server.
18
19       screen    Screen number on the host server.
20
21       colors_out
22                 Returns the values reserved by the server.
23
24       ncolors   Returns the number of items in colors_out.
25

DESCRIPTION

27       The XcupGetReservedColormapEntries function returns a list of  colormap
28       entries  (pixels) that are reserved by the system. This list will, at a
29       minimum, contain entries for the BlackPixel and WhitePixel of the spec‐
30       ified screen. Use XFree to free colors_out.
31
32       To  minimize colormap flash, an application which installs its own pri‐
33       vate colormap should query the special  colors  by  calling  XCupGetRe‐
34       servedColormapEntries,  and can then store those entries (in the proper
35       location) in its private colormap using XCupStoreColors.
36

SEE ALSO

38       XcupQueryVersion(3Xext), XcupStoreColors(3Xext), XFree(3X11),
39       Colormap Utilization Policy and Extension
40
41
42
43X Version 11                     libXext 1.3.3                         XCUP(3)
Impressum