[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
Motif 2.1 Programmer's Reference
XmGetColors
A function that generates foreground, select, and shadow colors
Format
#include <Xm/Xm.h>
void XmGetColors
Screen *
screenColormap colormapPixel
backgroundPixel * foregroundPixel
* top_shadowPixel *
bottom_shadowPixel * select
DESCRIPTION
XmGetColors takes a screen, a colormap, and a background pixel, and returns
pixel values for foreground, select, and shadow colors.
screenSpecifies the screen for which these colors should be allocated.
colormapSpecifies the colormap from which these colors should be allocated.
backgroundSpecifies the background on which the colors should be based.
foregroundSpecifies a pointer to the returned foreground pixel value. If this
argument is NULL, no value is allocated or returned for this color.
top_shadowSpecifies a pointer to the returned top shadow pixel value. If this
argument is NULL, no value is allocated or returned for this color.
bottom_shadowSpecifies a pointer to the returned bottom shadow pixel value. If this
argument is NULL, no value is allocated or returned for this color.
selectSpecifies a pointer to the returned select pixel value. If this argument
is NULL, no value is allocated or returned for this color.
RELATED
XmChangeColor
(3), XmGetColorCalculation
(3), and
XmSetColorCalculation
(3).
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]