'\" t .\" ChangeCo.sgm /main/8 1996/09/08 20:26:15 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 "XmChangeColor" 3 .SH "NAME" \fBXmChangeColor\fP \(em Recalculates all associated colors of a widget "XmChangeColor" "Color functions" "XmChangeColor" .SH "SYNOPSIS" .PP .nf #include \fBvoid \fBXmChangeColor\fP\fR( \fBWidget \fBwidget\fR\fR, \fBPixel \fBbackground\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmChangeColor\fP handles all color modifications for the specified widget when a new background pixel value is specified\&. This function recalculates the foreground, select, and shadow colors based on the new background color and sets the corresponding resources for the widget\&. If a color calculation procedure has been set by a call to \fBXmSetColorCalculation\fP, \fBXmChangeColor\fP uses that procedure to calculate the new colors\&. Otherwise, the routine uses a default procedure\&. .IP "\fIwidget\fP" 10 Specifies the widget ID whose colors will be updated .IP "\fIbackground\fP" 10 Specifies the background color pixel value .SH "RELATED" .PP \fBXmGetColorCalculation\fP(3), \fBXmGetColors\fP(3), and \fBXmSetColorCalculation\fP(3)\&. .\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:17