ROOT logo
ROOT » GUI » GUI » TGResourcePool

class TGResourcePool: public TGObject


TGResourcePool

This class implements a pool for the default GUI resource set,
like GC's, colors, fonts, etc..


Function Members (Methods)

public:
TGResourcePool(TGClient* client)
TGResourcePool(const TGResourcePool&)
virtual~TGResourcePool()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Pixel_tGetBlackColor() const
const TGGC*GetBlackGC() const
Pixmap_tGetCheckeredBitmap() const
Pixmap_tGetCheckeredPixmap() const
TGClient*TGObject::GetClient() const
Atom_tGetClipboard() const
Colormap_tGetDefaultColormap() const
Cursor_tGetDefaultCursor() const
const TGFont*GetDefaultFont() const
const TGGC*GetDocumentBckgndGC() const
const TGPicture*GetDocumentBckgndPicture() const
Pixel_tGetDocumentBgndColor() const
Pixel_tGetDocumentFgndColor() const
const TGFont*GetDocumentFixedFont() const
const TGGC*GetDocumentGC() const
const TGFont*GetDocumentPropFont() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
const TGGC*GetFocusHiliteGC() const
TGFontPool*GetFontPool() const
const TGGC*GetFrameBckgndGC() const
const TGPicture*GetFrameBckgndPicture() const
Pixel_tGetFrameBgndColor() const
Pixel_tGetFrameFgndColor() const
const TGGC*GetFrameGC() const
Pixel_tGetFrameHiliteColor() const
const TGGC*GetFrameHiliteGC() const
Pixel_tGetFrameShadowColor() const
const TGGC*GetFrameShadowGC() const
TGGCPool*GetGCPool() const
Cursor_tGetGrabCursor() const
Pixel_tGetHighLightColor() const
const TGFont*GetIconFont() const
virtual const char*TObject::GetIconName() const
Handle_tTGObject::GetId() const
const TGFont*GetMenuFont() const
const TGFont*GetMenuHiliteFont() const
TGMimeTypes*GetMimeTypes() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
TGPicturePool*GetPicturePool() const
const TGGC*GetSelectedBckgndGC() const
Pixel_tGetSelectedBgndColor() const
Pixel_tGetSelectedFgndColor() const
const TGGC*GetSelectedGC() const
const TGFont*GetStatusFont() const
Cursor_tGetTextCursor() const
Pixel_tGetTipBgndColor() const
Pixel_tGetTipFgndColor() const
const TGGC*GetTipGC() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Cursor_tGetWaitCursor() const
Pixel_tGetWhiteColor() const
const TGGC*GetWhiteGC() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTGObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTGObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTGObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
TGObject&TGObject::operator=(const TGObject& tgo)

Data Members

protected:
TGClient*TGObject::fClientConnection to display server
Handle_tTGObject::fIdX11/Win32 Window identifier
private:
Pixel_tfBackColordefault background color
TGGC*fBckgndGCframe background gc
Pixel_tfBlackblack color index
TGGC*fBlackGCblack gc
Pixmap_tfCheckeredcheckered pixmap
Pixmap_tfCheckeredBitmapcheckered bitmap
Atom_tfClipboardAtomhandle to clipboard
const TGPicture*fDefaultBackPicturedefault background picture
Colormap_tfDefaultColormapdefault colormap
Cursor_tfDefaultCursordefault cursor
const TGPicture*fDefaultDocBackPicturedefault document background picture
TGFont*fDefaultFontdefault font
Pixel_tfDocBackColordefault document background color
TGFont*fDocFixedFontdocument fixed font
Pixel_tfDocForeColordefault document foreground color
TGGC*fDocGCdocument gc
TGFont*fDocPropFontdocument proportional font
TGGC*fDocbgndGCdocument background gc
TGGC*fFocusGCframe focus gc
TGFontPool*fFontPoolfont pool manager
Pixel_tfForeColordefault foreground color
TGGC*fFrameGCframe gc
TGGCPool*fGCPoolgraphics drawing context pool manager
Cursor_tfGrabCursorgrab cursor
Pixel_tfHighLightColorhighlight color
Pixel_tfHilitedefault hilite color
TGGC*fHiliteGCframe hilite gc
TGFont*fIconFonticon font
TGFont*fMenuFontmenu font
TGFont*fMenuHiFontmenu highlight font
TGMimeTypes*fMimeTypeListlist of mime types
TGPicturePool*fPicturePoolpicture pool manager
Pixel_tfSelBackColordefault selection background color
Pixel_tfSelForeColordefault selection foreground color
TGGC*fSelGCselection gc
TGGC*fSelbgndGCselection background gc
Pixel_tfShadowdefault shadow color
TGGC*fShadowGCframe shadow gc
TGFont*fStatusFontstatus bar font
Cursor_tfTextCursortext cursor
Pixel_tfTipBackColordefault tip background color
Pixel_tfTipForeColordefault tip foreground color
TGGC*fTipGCtooltip gc
Cursor_tfWaitCursorwait cursor
Pixel_tfWhitewhite color index
TGGC*fWhiteGCwhite gc

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGResourcePool(TGClient* client)
 Create the global GUI resource pool manager.
~TGResourcePool()
 Cleanup the resource pool...
TGResourcePool(TGClient* client)
TGGCPool * GetGCPool() const
{ return fGCPool; }
TGFontPool * GetFontPool() const
{ return fFontPool; }
TGPicturePool * GetPicturePool() const
{ return fPicturePool; }
Pixel_t GetWhiteColor() const
--- inline functions:
 Color values...
{ return fWhite; }
Pixel_t GetBlackColor() const
{ return fBlack; }
Pixel_t GetFrameFgndColor() const
{ return fForeColor; }
Pixel_t GetFrameBgndColor() const
{ return fBackColor; }
Pixel_t GetFrameHiliteColor() const
{ return fHilite; }
Pixel_t GetFrameShadowColor() const
{ return fShadow; }
Pixel_t GetHighLightColor() const
{ return fHighLightColor; }
Pixel_t GetDocumentFgndColor() const
{ return fDocForeColor; }
Pixel_t GetDocumentBgndColor() const
{ return fDocBackColor; }
Pixel_t GetSelectedFgndColor() const
{ return fSelForeColor; }
Pixel_t GetSelectedBgndColor() const
{ return fSelBackColor; }
Pixel_t GetTipFgndColor() const
{ return fTipForeColor; }
Pixel_t GetTipBgndColor() const
{ return fTipBackColor; }
const TGFont * GetDefaultFont() const
 Fonts...
{ return fDefaultFont; }
const TGFont * GetMenuFont() const
{ return fMenuFont; }
const TGFont * GetMenuHiliteFont() const
{ return fMenuHiFont; }
const TGFont * GetDocumentFixedFont() const
{ return fDocFixedFont; }
const TGFont * GetDocumentPropFont() const
{ return fDocPropFont; }
const TGFont * GetIconFont() const
{ return fIconFont; }
const TGFont * GetStatusFont() const
{ return fStatusFont; }
const TGGC * GetWhiteGC() const
 GCs...
{ return fWhiteGC; }
const TGGC * GetBlackGC() const
{ return fBlackGC; }
const TGGC * GetFrameGC() const
{ return fFrameGC; }
const TGGC * GetFrameBckgndGC() const
{ return fBckgndGC; }
const TGGC * GetFrameHiliteGC() const
{ return fHiliteGC; }
const TGGC * GetFrameShadowGC() const
{ return fShadowGC; }
const TGGC * GetFocusHiliteGC() const
{ return fFocusGC; }
const TGGC * GetDocumentGC() const
{ return fDocGC; }
const TGGC * GetDocumentBckgndGC() const
{ return fDocbgndGC; }
const TGGC * GetSelectedGC() const
{ return fSelGC; }
const TGGC * GetSelectedBckgndGC() const
{ return fSelbgndGC; }
const TGGC * GetTipGC() const
{ return fTipGC; }
Pixmap_t GetCheckeredPixmap() const
 Pixmaps...
{ return fCheckered; }
Pixmap_t GetCheckeredBitmap() const
{ return fCheckeredBitmap; }
const TGPicture * GetFrameBckgndPicture() const
const TGPicture * GetDocumentBckgndPicture() const
Cursor_t GetDefaultCursor() const
 Cursors...
{ return fDefaultCursor; }
Cursor_t GetGrabCursor() const
{ return fGrabCursor; }
Cursor_t GetTextCursor() const
{ return fTextCursor; }
Cursor_t GetWaitCursor() const
{ return fWaitCursor; }
Colormap_t GetDefaultColormap() const
 Colormaps...
{ return fDefaultColormap; }
TGMimeTypes * GetMimeTypes() const
 Miscellaneous...
{ return fMimeTypeList; }
Atom_t GetClipboard() const
{ return fClipboardAtom; }