ROOT  6.06/09
Reference Guide
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...
 
TGLColorSetoperator= (const TGLColorSet &s)
 Assignment operator. More...
 
TGLColorBackground ()
 
TGLColorForeground ()
 
TGLColorOutline ()
 
TGLColorMarkup ()
 
TGLColorSelection (Int_t i)
 
const TGLColorBackground () const
 
const TGLColorForeground () const
 
const TGLColorOutline () const
 
const TGLColorMarkup () const
 
const TGLColorSelection (Int_t i) const
 
void StdDarkBackground ()
 Set defaults for dark (black) background. More...
 
void StdLightBackground ()
 Set defaults for light (white) background. More...
 
 ClassDef (TGLColorSet, 0)
 

Protected Attributes

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

#include <TGLUtil.h>

+ Collaboration diagram for TGLColorSet:

Constructor & Destructor Documentation

TGLColorSet::TGLColorSet ( )

Constructor. Sets default for dark background.

Definition at line 1360 of file TGLUtil.cxx.

TGLColorSet::~TGLColorSet ( )
virtual

Destructor.

Definition at line 1368 of file TGLUtil.cxx.

Member Function Documentation

TGLColor& TGLColorSet::Background ( )
inline
const TGLColor& TGLColorSet::Background ( ) const
inline

Definition at line 859 of file TGLUtil.h.

TGLColorSet::ClassDef ( TGLColorSet  ,
 
)
TGLColor& TGLColorSet::Foreground ( )
inline
const TGLColor& TGLColorSet::Foreground ( ) const
inline

Definition at line 860 of file TGLUtil.h.

TGLColor& TGLColorSet::Markup ( )
inline
const TGLColor& TGLColorSet::Markup ( ) const
inline

Definition at line 862 of file TGLUtil.h.

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

Assignment operator.

Definition at line 1375 of file TGLUtil.cxx.

TGLColor& TGLColorSet::Outline ( )
inline

Definition at line 855 of file TGLUtil.h.

Referenced by TGLPhysicalShape::SetupGLColors().

const TGLColor& TGLColorSet::Outline ( ) const
inline

Definition at line 861 of file TGLUtil.h.

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

Definition at line 863 of file TGLUtil.h.

void TGLColorSet::StdDarkBackground ( )

Set defaults for dark (black) background.

Definition at line 1389 of file TGLUtil.cxx.

void TGLColorSet::StdLightBackground ( )

Set defaults for light (white) background.

Definition at line 1406 of file TGLUtil.cxx.

Referenced by TGLViewer::InitSecondaryObjects().

Member Data Documentation

TGLColor TGLColorSet::fBackground
protected

Definition at line 841 of file TGLUtil.h.

Referenced by Background(), and operator=().

TGLColor TGLColorSet::fForeground
protected

Definition at line 842 of file TGLUtil.h.

Referenced by Foreground(), and operator=().

TGLColor TGLColorSet::fMarkup
protected

Definition at line 844 of file TGLUtil.h.

Referenced by Markup(), and operator=().

TGLColor TGLColorSet::fOutline
protected

Definition at line 843 of file TGLUtil.h.

Referenced by operator=(), and Outline().

TGLColor TGLColorSet::fSelection[5]
protected

Definition at line 845 of file TGLUtil.h.

Referenced by operator=().


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