Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ SgColorChooserSetStoredColor() — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     SgColorChooserSetStoredColUNIXXSySgColorChooserSetStoredColor(3X)



     NAME
          SgColorChooserSetStoredColor - A ColorChooser function that
          sets the color of the ColorChooser's stored color swatch

     SYNOPSIS
          #include <Sgm/ColorC.h>

          void SgColorChooserSetStoredColor (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
          SgColorChooserSetStoredColor sets the color of the
          ColorChooser's stored color swatch component.  This gives
          the developers access to set the ColorChooser reference
          color.

          Calling SgColorChooserSetStoredColor and
          SgColorChooserSetCurrentColor with the same color value is
          equivalent to calling SgColorChooserSetColor.


          widget Specifies the ColorChooser widget ID.

          red    Specifies the red color component in an RGB color
                 space.

          green  Specifies the green color component in an RGB color
                 space.

          blue   Specifies the blue color component in an 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),
          SgColorChooserGetColor(3X),



     Page 1                                          (printed 4/30/98)





     SgColorChooserSetStoredColUNIXXSySgColorChooserSetStoredColor(3X)



          SgColorChooserSetCurrentColor(3X), and RGBColor(3G).






















































     Page 2                                          (printed 4/30/98)



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