Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ SgColorChooserGetColor() — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     SgColorChooserGetColor(3X)UNIX System VSgColorChooserGetColor(3X)



     NAME
          SgColorChooserGetColor - A ColorChooser function that gets
          the selected color of the ColorChooser

     SYNOPSIS
          #include <Sgm/ColorC.h>

          void SgColorChooserGetColor (widget, red, green, blue)
               Widget      widget;
               short       *red;
               short       *green;
               short       *blue;


     VERSION
          This page documents the version of Sgm that accompanies
          Motif 1.2.

     DESCRIPTION
          SgColorChooserGetColor gets the currently selected color of
          the given ColorChooser widget.



          widget Specifies the ColorChooser widget ID

          *red   Specifies a pointer to hold the returned red color
                 component in RGB color space.

          *green Specifies a pointer to hold the returned green color
                 component in RGB color space.

          *blue  Specifies a pointer to hold the returned blue color
                 component in RGB color space.


          The color components range from 0 (no intensity) to 255
          (maximum intensity).  This is the same range used by Iris GL
          (RGBColor(3G)).

          For a complete definition of ColorChooser widget and its
          associated resources, see SgColorChooser(3X).

     RELATED INFORMATION
          SgColorChooser(3X).  SgCreateColorChooser(3X),
          SgCreateColorChooserDialog(3X), SgColorChooserSetColor(3X),
          SgColorChooserSetCurrentColor(3X),
          SgColorChooserSetStoredColor(3X), and RGBColor(3G).







     Page 1                                          (printed 4/30/98)



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