SgColorChooserSetStoredColor(3X)SgColorChooserSetStoredColor(3X)NAMESgColorChooserSetStoredColor — 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) Wid‐
get widget; short red; short green;
short blue;
VERSION
This page documents the version of Sgm that accompanies Motif 1.2.
DESCRIPTIONSgColorChooserSetStoredColor 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 SgColorChooserSet‐
Color. Specifies the ColorChooser widget ID. Specifies the red color
component in an RGB color space. Specifies the green color component
in an RGB color space. 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
resources, see SgColorChooser(3X).
RELATED INFORMATIONSgColorChooser(3X). SgCreateColorChooser(3X), SgCreateColorChooserDia‐
log(3X), SgColorChooserSetColor(3X), SgColorChooserGetColor(3X), SgCol‐
orChooserSetCurrentColor(3X), and RGBColor(3G).
SgColorChooserSetStoredColor(3X)