coyote: CGGETCOLORSTATE

Description
Provides a device-independent way to get the color decomposition state of the
current graphics device. 
Categories
Graphics, Utilities
Returns
Returns a 1 if color decomposition is turned on and a 0 if indexed color is used.
Params
device: in, optional, type=string
    The IDL graphics device whose color decomposition state you wish to know the
    current value of. If undefined, the current graphics device is used.
Keywords
Depth: out, optional, type=integer
    The depth of the color display. Typically 8 for indexed color devices
    and 24 for true-color devices.
Examples
IDL> currentState = cgGetColorState()
Author
FANNING SOFTWARE CONSULTING::
    David W. Fanning 
    1645 Sheely Drive
    Fort Collins, CO 80526 USA
    Phone: 970-221-0438
    E-mail: david@idlcoyote.com
    Coyote's Guide to IDL Programming: http://www.idlcoyote.com
History
Change History::
   Written, 5 Nov 2013, as a combination of DecomposedColor and GetDecomposedState, which
      have both been retired from the Coyote Library.
Copyright
Copyright (c) 2010-2013, Fanning Software Consulting, Inc.