XmGetColors(3X)XmGetColors(3X)NAMEXmGetColors — A function that generates foreground, select, and shadow
colors
SYNOPSIS
#include <Xm/Xm.h>
void XmGetColors (screen, colormap, background, foreground, top_shadow,
bottom_shadow, select) Screen * screen; Colormap col‐
ormap; Pixel background; Pixel * foreground;
Pixel * top_shadow; Pixel * bottom_shadow;
Pixel * select;
VERSION
This page documents version 1.2 of the Motif library.
DESCRIPTIONXmGetColors takes a screen, a colormap, and a background pixel, and it
returns pixel values for foreground, select, and shadow colors. Speci‐
fies the screen for which these colors should be allocated Specifies
the colormap from which these colors should be allocated Specifies the
background on which the colors should be based Specifies a pointer to
the returned foreground pixel value. If this argument is NULL no value
is allocated or returned for this color. Specifies a pointer to the
returned top shadow pixel value. If this argument is NULL no value is
allocated or returned for this color. Specifies a pointer to the
returned bottom shadow pixel value. If this argument is NULL no value
is allocated or returned for this color. Specifies a pointer to the
returned select pixel value. If this argument is NULL no value is
allocated or returned for this color.
RELATED INFORMATIONXmChangeColor(3X), XmGetColorCalculation(3X), and XmSetColorCalcula‐
tion(3X).
XmGetColors(3X)