Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DXmColorMixSetNewColor(3X)

NAME

DXmColorMixSetNewColor − Sets the new color red, green, and blue values in the color mixing widget. 

SYNOPSIS

void DXmColorMixSetNewColor(cmw, red, green, blue)
      DXmColorMixWidget  cmw;
      unsigned short     red;
      unsigned short     green;
      unsigned short     blue;

PARAMETERS

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

DESCRIPTION

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. 

RELATED INFORMATION

DXmColorMixGetNewColor(3X), DXmCreateColorMix(3X), DXmCreateColorMixDialog(3X)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026