Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ DwtColorMixGetNewColor(3Dwt) — Ultrix/UWS 4.4 RISC

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DwtColorMixGetNewColor(3Dwt)

Name

DwtColorMixGetNewColor − Returns the red, green, and blue color values to the color mixing widget. 

Syntax

void DwtColorMixGetNewColor(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 current new color red value. 

greenSpecifies the current new color green value. 

blueSpecifies the current new color blue value. 

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 DwtColorMixGetNewColor function allows the color mixing widget to pass the current color value created by the color mixer subwidget to the color display subwidget.  If the application uses the default color mixer subwidget, using DwtColorMixGetNewColor is faster than using XtGetValues. 

See Also

DwtColorMixSetNewColor (3Dwt), DwtColorMixCreate (3Dwt)
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding

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