Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DXmColorMixGetNewColor(3X)  —  Subroutines

Digital

NAME

DXmColorMixGetNewColor − Retrieves (returns) the color mixing widget’s current new color red, green, and blue values. 

SYNOPSIS

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

DESCRIPTION

DXmColorMixGetNewColor allows the calling application or routine to quickly obtain the current color value from the color mixing widget.  Note that if your application uses the default color mixing subwidget, the application will perform this operation faster if you call this routine instead of the Intrinsic routine XtGetValues. 

Arguments

cmwThe widget identifier of the color mixing widget. 

redA pointer to the returned new color red value. 

greenA pointer to the returned new color green value. 

blueA pointer to the returned new color blue value. 

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

DXmColorMixSetNewColor , DXmCreateColorMix, and DXmCreateColorMixDialog. 

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