Blob Blame History Raw
'\" t
...\" GetCols.sgm /main/8 1996/09/08 20:45:39 rws $
.de P!
.fl
\!!1 setgray
.fl
\\&.\"
.fl
\!!0 setgray
.fl			\" force out current output buffer
\!!save /psv exch def currentpoint translate 0 0 moveto
\!!/showpage{}def
.fl			\" prolog
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
\!!psv restore
.
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
.TH "XmGetColors" "library call"
.SH "NAME"
\fBXmGetColors\fP \(em A function that generates foreground, select, and shadow colors
.iX "XmGetColors"
.iX "Color functions" "XmGetColors"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/Xm\&.h>
\fBvoid \fBXmGetColors\fP\fR(
\fBScreen \fB* screen\fR\fR,
\fBColormap \fBcolormap\fR\fR,
\fBPixel \fBbackground\fR\fR,
\fBPixel \fB* foreground\fR\fR,
\fBPixel \fB* top_shadow\fR\fR,
\fBPixel \fB* bottom_shadow\fR\fR,
\fBPixel \fB* select\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmGetColors\fP takes a screen, a colormap, and a background pixel,
and returns pixel values for foreground, select, and shadow colors\&.
.IP "\fIscreen\fP" 10
Specifies the screen for which these colors should be allocated\&.
.IP "\fIcolormap\fP" 10
Specifies the colormap from which these colors should be allocated\&.
.IP "\fIbackground\fP" 10
Specifies the background on which the colors should be based\&.
.IP "\fIforeground\fP" 10
Specifies a pointer to the returned foreground pixel value\&.
If this argument is NULL, no value is allocated or returned for this color\&.
.IP "\fItop_shadow\fP" 10
Specifies a pointer to the returned top shadow pixel value\&.
If this argument is NULL, no value is allocated or returned for this color\&.
.IP "\fIbottom_shadow\fP" 10
Specifies a pointer to the returned bottom shadow pixel value\&.
If this argument is NULL, no value is allocated or returned for this color\&.
.IP "\fIselect\fP" 10
Specifies a pointer to the returned select pixel value\&.
If this argument is NULL, no value is allocated or returned for this color\&.
.SH "RELATED"
.PP
\fBXmChangeColor\fP(3),
\fBXmGetColorCalculation\fP(3), and
\fBXmSetColorCalculation\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:24