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
 
TGLColorForeground ()
 
const TGLColorForeground () const
 
TClassIsA () 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.
 
void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

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.

◆ Class()

static TClass * TGLColorSet::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TGLColorSet::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TGLColorSet::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 866 of file TGLUtil.h.

◆ DeclFileName()

static const char * TGLColorSet::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 866 of file TGLUtil.h.

◆ 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.

◆ IsA()

TClass * TGLColorSet::IsA ( ) const
inline
Returns
TClass describing current object

Definition at line 866 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.

◆ Streamer()

void TGLColorSet::Streamer ( TBuffer )

◆ StreamerNVirtual()

void TGLColorSet::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 866 of file TGLUtil.h.

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: