1XmGetColors(library call)                            XmGetColors(library call)
2
3
4

NAME

6       XmGetColors  — A function that generates foreground, select, and shadow
7       colors
8

SYNOPSIS

10       #include <Xm/Xm.h>
11       void XmGetColors(
12       Screen * screen,
13       Colormap colormap,
14       Pixel background,
15       Pixel * foreground,
16       Pixel * top_shadow,
17       Pixel * bottom_shadow,
18       Pixel * select);
19

DESCRIPTION

21       XmGetColors takes a screen, a colormap, and  a  background  pixel,  and
22       returns pixel values for foreground, select, and shadow colors.
23
24       screen    Specifies  the  screen for which these colors should be allo‐
25                 cated.
26
27       colormap  Specifies the colormap from  which  these  colors  should  be
28                 allocated.
29
30       background
31                 Specifies the background on which the colors should be based.
32
33       foreground
34                 Specifies  a  pointer to the returned foreground pixel value.
35                 If this argument is NULL, no value is allocated  or  returned
36                 for this color.
37
38       top_shadow
39                 Specifies  a  pointer to the returned top shadow pixel value.
40                 If this argument is NULL, no value is allocated  or  returned
41                 for this color.
42
43       bottom_shadow
44                 Specifies  a  pointer  to  the  returned  bottom shadow pixel
45                 value.  If this argument is NULL, no value  is  allocated  or
46                 returned for this color.
47
48       select    Specifies  a  pointer to the returned select pixel value.  If
49                 this argument is NULL, no value is allocated or returned  for
50                 this color.
51
53       XmChangeColor(3),   XmGetColorCalculation(3),   and  XmSetColorCalcula‐
54       tion(3).
55
56
57
58                                                     XmGetColors(library call)
Impressum