Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DXmColorMixSetNewColor(3X)

DXmCreateColorMix(3X)

DXmCreateColorMixDialog(3X)

DXmColorMixGetNewColor(3X)  —  Subroutines

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;

PARAMETERS

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

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. 

RELATED INFORMATION

DXmColorMixSetNewColor(3X), DXmCreateColorMix(3X), DXmCreateColorMixDialog(3X)

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