SgColorChooserSetStoredColor(3X)

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

As shipped in IRIX 6.5. First release of IRIX 6.5.

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 Color-
     Chooser 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 inten-
     sity).  This is the same range used by Iris GL (RGBColor(3G)).

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

RELATED INFORMATION
     SgColorChooser(3X).  SgCreateColorChooser(3X), SgCreateColorChooserDia-
     log(3X), SgColorChooserSetColor(3X), SgColorChooserGetColor(3X), SgColor-
     ChooserSetCurrentColor(3X), and RGBColor(3G).



                                                SgColorChooserSetStoredColor(3X)