ROOT logo
ROOT » GRAF3D » GL » TGLColorSet

class TGLColorSet


 Class encapsulating a set of colors used throughout standard rendering.

Function Members (Methods)

public:
TGLColorSet()
TGLColorSet(const TGLColorSet&)
virtual~TGLColorSet()
TGLColor&Background()
const TGLColor&Background() const
static TClass*Class()
TGLColor&Foreground()
const TGLColor&Foreground() const
virtual TClass*IsA() const
TGLColor&Markup()
const TGLColor&Markup() const
TGLColorSet&operator=(const TGLColorSet& s)
TGLColor&Outline()
const TGLColor&Outline() const
TGLColor&Selection(Int_t i)
const TGLColor&Selection(Int_t i) const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
voidStdDarkBackground()
voidStdLightBackground()
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

protected:
TGLColorfBackground
TGLColorfForeground
TGLColorfMarkup
TGLColorfOutline
TGLColorfSelection[5]Colors for shape-selection-levels

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLColorSet()
 Constructor. Sets default for dark background.
~TGLColorSet()
 Destructor.
TGLColorSet& operator=(const TGLColorSet& s)
 Assignment operator.
void StdDarkBackground()
 Set defaults for dark (black) background.
void StdLightBackground()
 Set defaults for light (white) background.
TGLColorSet()
TGLColor& Background()
{ return fBackground; }
TGLColor& Foreground()
{ return fForeground; }
TGLColor& Outline()
{ return fOutline; }
TGLColor& Markup()
{ return fMarkup; }
TGLColor& Selection(Int_t i)
{ return fSelection[i]; }
const TGLColor& Background()
{ return fBackground; }
const TGLColor& Foreground()
{ return fForeground; }
const TGLColor& Outline()
{ return fOutline; }
const TGLColor& Markup()
{ return fMarkup; }
const TGLColor& Selection(Int_t i)
{ return fSelection[i]; }