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
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()
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(basic_ostream<char,char_traits<char> >& 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& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& 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

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
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_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()
{ return fGCPool; }
TGFontPool * GetFontPool()
{ return fFontPool; }
TGPicturePool * GetPicturePool()
{ return fPicturePool; }
Pixel_t GetWhiteColor()
--- inline functions:
 Color values...
{ return fWhite; }
Pixel_t GetBlackColor()
{ return fBlack; }
Pixel_t GetFrameFgndColor()
{ return fForeColor; }
Pixel_t GetFrameBgndColor()
{ return fBackColor; }
Pixel_t GetFrameHiliteColor()
{ return fHilite; }
Pixel_t GetFrameShadowColor()
{ return fShadow; }
Pixel_t GetDocumentFgndColor()
{ return fDocForeColor; }
Pixel_t GetDocumentBgndColor()
{ return fDocBackColor; }
Pixel_t GetSelectedFgndColor()
{ return fSelForeColor; }
Pixel_t GetSelectedBgndColor()
{ return fSelBackColor; }
Pixel_t GetTipFgndColor()
{ return fTipForeColor; }
Pixel_t GetTipBgndColor()
{ return fTipBackColor; }
const TGFont * GetDefaultFont()
 Fonts...
{ return fDefaultFont; }
const TGFont * GetMenuFont()
{ return fMenuFont; }
const TGFont * GetMenuHiliteFont()
{ return fMenuHiFont; }
const TGFont * GetDocumentFixedFont()
{ return fDocFixedFont; }
const TGFont * GetDocumentPropFont()
{ return fDocPropFont; }
const TGFont * GetIconFont()
{ return fIconFont; }
const TGFont * GetStatusFont()
{ return fStatusFont; }
const TGGC * GetWhiteGC()
 GCs...
{ return fWhiteGC; }
const TGGC * GetBlackGC()
{ return fBlackGC; }
const TGGC * GetFrameGC()
{ return fFrameGC; }
const TGGC * GetFrameBckgndGC()
{ return fBckgndGC; }
const TGGC * GetFrameHiliteGC()
{ return fHiliteGC; }
const TGGC * GetFrameShadowGC()
{ return fShadowGC; }
const TGGC * GetFocusHiliteGC()
{ return fFocusGC; }
const TGGC * GetDocumentGC()
{ return fDocGC; }
const TGGC * GetDocumentBckgndGC()
{ return fDocbgndGC; }
const TGGC * GetSelectedGC()
{ return fSelGC; }
const TGGC * GetSelectedBckgndGC()
{ return fSelbgndGC; }
const TGGC * GetTipGC()
{ return fTipGC; }
Pixmap_t GetCheckeredPixmap()
 Pixmaps...
{ return fCheckered; }
Pixmap_t GetCheckeredBitmap()
{ return fCheckeredBitmap; }
const TGPicture * GetFrameBckgndPicture()
{ return fDefaultBackPicture; }
const TGPicture * GetDocumentBckgndPicture()
{ return fDefaultDocBackPicture; }
Cursor_t GetDefaultCursor()
 Cursors...
{ return fDefaultCursor; }
Cursor_t GetGrabCursor()
{ return fGrabCursor; }
Cursor_t GetTextCursor()
{ return fTextCursor; }
Cursor_t GetWaitCursor()
{ return fWaitCursor; }
Colormap_t GetDefaultColormap()
 Colormaps...
{ return fDefaultColormap; }
TGMimeTypes * GetMimeTypes()
 Miscellaneous...
{ return fMimeTypeList; }
Atom_t GetClipboard()
{ return fClipboardAtom; }

Author: Fons Rademakers 19/5/2003
Last change: root/gui:$Id: TGResourcePool.h 23115 2008-04-10 13:35:37Z rdm $
Last generated: 2008-06-25 08:42
Copyright (C) 1995-2003, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.