Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGLColorSet Class Reference

Class encapsulating a set of colors used throughout standard rendering.

Definition at line 835 of file TGLUtil.h.

Public Member Functions

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

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 1337 of file TGLUtil.cxx.

◆ TGLColorSet() [2/2]

TGLColorSet::TGLColorSet ( const TGLColorSet s)

Copy constructor.

Definition at line 1345 of file TGLUtil.cxx.

◆ ~TGLColorSet()

TGLColorSet::~TGLColorSet ( )
default

Member Function Documentation

◆ Background() [1/2]

TGLColor & TGLColorSet::Background ( )
inline

Definition at line 851 of file TGLUtil.h.

◆ Background() [2/2]

const TGLColor & TGLColorSet::Background ( ) const
inline

Definition at line 857 of file TGLUtil.h.

◆ ClassDefNV()

TGLColorSet::ClassDefNV ( TGLColorSet  ,
 
)

◆ Foreground() [1/2]

TGLColor & TGLColorSet::Foreground ( )
inline

Definition at line 852 of file TGLUtil.h.

◆ Foreground() [2/2]

const TGLColor & TGLColorSet::Foreground ( ) const
inline

Definition at line 858 of file TGLUtil.h.

◆ Markup() [1/2]

TGLColor & TGLColorSet::Markup ( )
inline

Definition at line 854 of file TGLUtil.h.

◆ Markup() [2/2]

const TGLColor & TGLColorSet::Markup ( ) const
inline

Definition at line 860 of file TGLUtil.h.

◆ operator=()

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

Assignment operator.

Definition at line 1358 of file TGLUtil.cxx.

◆ Outline() [1/2]

TGLColor & TGLColorSet::Outline ( )
inline

Definition at line 853 of file TGLUtil.h.

◆ Outline() [2/2]

const TGLColor & TGLColorSet::Outline ( ) const
inline

Definition at line 859 of file TGLUtil.h.

◆ Selection() [1/2]

TGLColor & TGLColorSet::Selection ( Int_t  i)
inline

Definition at line 855 of file TGLUtil.h.

◆ Selection() [2/2]

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

Definition at line 861 of file TGLUtil.h.

◆ StdDarkBackground()

void TGLColorSet::StdDarkBackground ( )

Set defaults for dark (black) background.

Definition at line 1372 of file TGLUtil.cxx.

◆ StdLightBackground()

void TGLColorSet::StdLightBackground ( )

Set defaults for light (white) background.

Definition at line 1389 of file TGLUtil.cxx.

Member Data Documentation

◆ fBackground

TGLColor TGLColorSet::fBackground
protected

Definition at line 838 of file TGLUtil.h.

◆ fForeground

TGLColor TGLColorSet::fForeground
protected

Definition at line 839 of file TGLUtil.h.

◆ fMarkup

TGLColor TGLColorSet::fMarkup
protected

Definition at line 841 of file TGLUtil.h.

◆ fOutline

TGLColor TGLColorSet::fOutline
protected

Definition at line 840 of file TGLUtil.h.

◆ fSelection

TGLColor TGLColorSet::fSelection[5]
protected

Definition at line 842 of file TGLUtil.h.

Libraries for TGLColorSet:

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