Logo ROOT  
Reference Guide
TGLColorSet Class Reference

Class encapsulating a set of colors used throughout standard rendering.

Definition at line 834 of file TGLUtil.h.

Public Member Functions

 TGLColorSet ()
 Constructor. Sets default for dark background. More...
 
 TGLColorSet (const TGLColorSet &s)
 Copy constructor. More...
 
 ~TGLColorSet ()=default
 
TGLColorBackground ()
 
const TGLColorBackground () const
 
 ClassDefNV (TGLColorSet, 0)
 
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() [1/2]

TGLColorSet::TGLColorSet ( )

Constructor. Sets default for dark background.

Definition at line 1338 of file TGLUtil.cxx.

◆ TGLColorSet() [2/2]

TGLColorSet::TGLColorSet ( const TGLColorSet s)

Copy constructor.

Definition at line 1346 of file TGLUtil.cxx.

◆ ~TGLColorSet()

TGLColorSet::~TGLColorSet ( )
default

Member Function Documentation

◆ Background() [1/2]

TGLColor & TGLColorSet::Background ( )
inline

Definition at line 850 of file TGLUtil.h.

◆ Background() [2/2]

const TGLColor & TGLColorSet::Background ( ) const
inline

Definition at line 856 of file TGLUtil.h.

◆ ClassDefNV()

TGLColorSet::ClassDefNV ( TGLColorSet  ,
 
)

◆ Foreground() [1/2]

TGLColor & TGLColorSet::Foreground ( )
inline

Definition at line 851 of file TGLUtil.h.

◆ Foreground() [2/2]

const TGLColor & TGLColorSet::Foreground ( ) const
inline

Definition at line 857 of file TGLUtil.h.

◆ Markup() [1/2]

TGLColor & TGLColorSet::Markup ( )
inline

Definition at line 853 of file TGLUtil.h.

◆ Markup() [2/2]

const TGLColor & TGLColorSet::Markup ( ) const
inline

Definition at line 859 of file TGLUtil.h.

◆ operator=()

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

Assignment operator.

Definition at line 1359 of file TGLUtil.cxx.

◆ Outline() [1/2]

TGLColor & TGLColorSet::Outline ( )
inline

Definition at line 852 of file TGLUtil.h.

◆ Outline() [2/2]

const TGLColor & TGLColorSet::Outline ( ) const
inline

Definition at line 858 of file TGLUtil.h.

◆ Selection() [1/2]

TGLColor & TGLColorSet::Selection ( Int_t  i)
inline

Definition at line 854 of file TGLUtil.h.

◆ Selection() [2/2]

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

Definition at line 860 of file TGLUtil.h.

◆ StdDarkBackground()

void TGLColorSet::StdDarkBackground ( )

Set defaults for dark (black) background.

Definition at line 1373 of file TGLUtil.cxx.

◆ StdLightBackground()

void TGLColorSet::StdLightBackground ( )

Set defaults for light (white) background.

Definition at line 1390 of file TGLUtil.cxx.

Member Data Documentation

◆ fBackground

TGLColor TGLColorSet::fBackground
protected

Definition at line 837 of file TGLUtil.h.

◆ fForeground

TGLColor TGLColorSet::fForeground
protected

Definition at line 838 of file TGLUtil.h.

◆ fMarkup

TGLColor TGLColorSet::fMarkup
protected

Definition at line 840 of file TGLUtil.h.

◆ fOutline

TGLColor TGLColorSet::fOutline
protected

Definition at line 839 of file TGLUtil.h.

◆ fSelection

TGLColor TGLColorSet::fSelection[5]
protected

Definition at line 841 of file TGLUtil.h.

Libraries for TGLColorSet:
[legend]

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