Blame doc/man/man3/XmGetColors.3

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