Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DXmColorMixSetNewColor(3X)  —  Subroutines

Digital

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;

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. 

Arguments

cmwThe identifier (widget ID) of the color mixing widget. 

redThe new color red value. The value is expressed as an X color value (0 to 65535). 

greenThe new color green value. The value is expressed as an X color value (0 to 65535). 

blueThe 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

RELATED INFORMATION

DXmColorMixGetNewColor, DXmCreateColorMix, and DXmCreateColorMixDialog. 

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