DwtColorMixSetNewColor(3Dwt)
Name
DwtColorMixSetNewColor − Sets the new red, green, and blue color values in the color mixing widget.
Syntax
void DwtColorMixSetNewColor(cmw, red, green, blue)
Widget cmw;
unsigned short red;
unsigned short green;
unsigned short blue;
Arguments
cmwSpecifies the widget ID of the color mixing widget.
redSpecifies the new color red value. You can express the value in percentages or by the X color values (0 to 65535).
greenSpecifies the new color green value. You can express the value in percentages or by the X color values (0 to 65535).
blueSpecifies the new color blue value. You can express the value in percentages or by the X color values (0 to 65535).
See the section on colormap functions in the Guide to the Xlib Library: C Language Binding for more information on X color values.
Description
The DwtColorMixSetNewColor function allows the user-supplied color mixer subwidget to pass the current color values to the color mixing widget. Using DwtColorMixSetNewColor is more efficient than using XtSetValues.
See Also
DwtColorMixGetNewColor (3Dwt), DwtColorMixCreate (3Dwt)
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding