Logo ROOT   6.08/07
Reference Guide
List of all members | Public Member Functions | Protected Attributes | List of all members
TGLColorSet Class Reference

Class encapsulating a set of colors used throughout standard rendering.

Definition at line 838 of file TGLUtil.h.

Public Member Functions

 TGLColorSet ()
 Constructor. Sets default for dark background. More...
 
virtual ~TGLColorSet ()
 Destructor. More...
 
TGLColorBackground ()
 
const TGLColorBackground () const
 
TGLColorForeground ()
 
const TGLColorForeground () const
 
TGLColorMarkup ()
 
const TGLColorMarkup () const
 
TGLColorSetoperator= (const TGLColorSet &s)
 Assignment operator. More...
 
TGLColorOutline ()
 
const TGLColorOutline () const
 
TGLColorSelection (Int_t i)
 
const TGLColorSelection (Int_t i) const
 
void StdDarkBackground ()
 Set defaults for dark (black) background. More...
 
void StdLightBackground ()
 Set defaults for light (white) background. More...
 

Protected Attributes

TGLColor fBackground
 
TGLColor fForeground
 
TGLColor fMarkup
 
TGLColor fOutline
 
TGLColor fSelection [5]
 

#include <TGLUtil.h>

Constructor & Destructor Documentation

◆ TGLColorSet()

TGLColorSet::TGLColorSet ( )

Constructor. Sets default for dark background.

Definition at line 1360 of file TGLUtil.cxx.

◆ ~TGLColorSet()

TGLColorSet::~TGLColorSet ( )
virtual

Destructor.

Definition at line 1368 of file TGLUtil.cxx.

Member Function Documentation

◆ Background() [1/2]

TGLColor& TGLColorSet::Background ( )
inline

Definition at line 853 of file TGLUtil.h.

◆ Background() [2/2]

const TGLColor& TGLColorSet::Background ( ) const
inline

Definition at line 859 of file TGLUtil.h.

◆ Foreground() [1/2]

TGLColor& TGLColorSet::Foreground ( )
inline

Definition at line 854 of file TGLUtil.h.

◆ Foreground() [2/2]

const TGLColor& TGLColorSet::Foreground ( ) const
inline

Definition at line 860 of file TGLUtil.h.

◆ Markup() [1/2]

TGLColor& TGLColorSet::Markup ( )
inline

Definition at line 856 of file TGLUtil.h.

◆ Markup() [2/2]

const TGLColor& TGLColorSet::Markup ( ) const
inline

Definition at line 862 of file TGLUtil.h.

◆ operator=()

TGLColorSet & TGLColorSet::operator= ( const TGLColorSet s)

Assignment operator.

Definition at line 1375 of file TGLUtil.cxx.

◆ Outline() [1/2]

TGLColor& TGLColorSet::Outline ( )
inline

Definition at line 855 of file TGLUtil.h.

◆ Outline() [2/2]

const TGLColor& TGLColorSet::Outline ( ) const
inline

Definition at line 861 of file TGLUtil.h.

◆ Selection() [1/2]

TGLColor& TGLColorSet::Selection ( Int_t  i)
inline

Definition at line 857 of file TGLUtil.h.

◆ Selection() [2/2]

const TGLColor& TGLColorSet::Selection ( Int_t  i) const
inline

Definition at line 863 of file TGLUtil.h.

◆ StdDarkBackground()

void TGLColorSet::StdDarkBackground ( )

Set defaults for dark (black) background.

Definition at line 1389 of file TGLUtil.cxx.

◆ StdLightBackground()

void TGLColorSet::StdLightBackground ( )

Set defaults for light (white) background.

Definition at line 1406 of file TGLUtil.cxx.

Member Data Documentation

◆ fBackground

TGLColor TGLColorSet::fBackground
protected

Definition at line 841 of file TGLUtil.h.

◆ fForeground

TGLColor TGLColorSet::fForeground
protected

Definition at line 842 of file TGLUtil.h.

◆ fMarkup

TGLColor TGLColorSet::fMarkup
protected

Definition at line 844 of file TGLUtil.h.

◆ fOutline

TGLColor TGLColorSet::fOutline
protected

Definition at line 843 of file TGLUtil.h.

◆ fSelection

TGLColor TGLColorSet::fSelection[5]
protected

Definition at line 845 of file TGLUtil.h.


The documentation for this class was generated from the following files: