ROOT logo
ROOT » GRAF3D » GL » TGLColorSet

class TGLColorSet


 Class encapsulating a set of colors used throughout standard rendering.

Function Members (Methods)

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() const
{ return fBackground; }
const TGLColor& Foreground() const
{ return fForeground; }
const TGLColor& Outline() const
{ return fOutline; }
const TGLColor& Markup() const
{ return fMarkup; }
const TGLColor& Selection(Int_t i) const
{ return fSelection[i]; }