|
DXmColorMixSetNewColor(3X)
Contents
|
DXmColorMixSetNewColor - Sets the new color red, green,
and blue values in the color mixing widget.
void DXmColorMixSetNewColor(
DXmColorMixWidget cmw,
unsigned short red,
unsigned short green,
unsigned short blue );
The identifier (widget ID) of the color mixing widget.
The new color red value. The value is expressed as an X
color value (0 to 65535). The new color green value. The
value is expressed as an X color value (0 to 65535). The
new color blue value. The value is expressed as an X color
value (0 to 65535).
A complete list of all the X color values available to you
is located on your system. To find it, type the following
command: % find / -name '*rgb*' -print
The DXmColorMixSetNewColor routine allows the application
or a user-supplied color mixer subwidget to pass the current
color value to the color mixing widget. Note that
your application will perform this operation faster if you
call this routine instead of the Intrinsic routine XtSetValues.
DXmColorMixGetNewColor(3X), DXmCreateColorMix(3X), DXmCreateColorMixDialog(3X)
DXmColorMixSetNewColor(3X)
[ Back ] |