library: libGui
#include "TGResourcePool.h"

TGResourcePool


class description - header file - source file
viewCVS header - viewCVS source

class TGResourcePool: public TGObject

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
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 = "")
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
virtual voidTObject::Dump() const
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() const
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 voidTObject::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 = "")
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:
Handle_tTGObject::fIdX11/Win32 Window identifier
TGClient*TGObject::fClientConnection to display server
private:
Pixel_tfBackColordefault background color
Pixel_tfForeColordefault foreground color
Pixel_tfHilitedefault hilite color
Pixel_tfShadowdefault shadow color
Pixel_tfSelBackColordefault selection background color
Pixel_tfSelForeColordefault selection foreground color
Pixel_tfDocBackColordefault document background color
Pixel_tfDocForeColordefault document foreground color
Pixel_tfTipBackColordefault tip background color
Pixel_tfTipForeColordefault tip foreground color
Pixel_tfWhitewhite color index
Pixel_tfBlackblack color index
TGFontPool*fFontPoolfont pool manager
TGFont*fDefaultFontdefault font
TGFont*fMenuFontmenu font
TGFont*fMenuHiFontmenu highlight font
TGFont*fDocFixedFontdocument fixed font
TGFont*fDocPropFontdocument proportional font
TGFont*fIconFonticon font
TGFont*fStatusFontstatus bar font
TGPicturePool*fPicturePoolpicture pool manager
const TGPicture*fDefaultBackPicturedefault background picture
const TGPicture*fDefaultDocBackPicturedefault document background picture
TGGCPool*fGCPoolgraphics drawing context pool manager
TGGC*fWhiteGCwhite gc
TGGC*fBlackGCblack gc
TGGC*fFrameGCframe gc
TGGC*fBckgndGCframe background gc
TGGC*fHiliteGCframe hilite gc
TGGC*fShadowGCframe shadow gc
TGGC*fFocusGCframe focus gc
TGGC*fDocGCdocument gc
TGGC*fDocbgndGCdocument background gc
TGGC*fSelGCselection gc
TGGC*fSelbgndGCselection background gc
TGGC*fTipGCtooltip gc
Pixmap_tfCheckeredcheckered pixmap
Pixmap_tfCheckeredBitmapcheckered bitmap
Cursor_tfDefaultCursordefault cursor
Cursor_tfGrabCursorgrab cursor
Cursor_tfTextCursortext cursor
Cursor_tfWaitCursorwait cursor
Colormap_tfDefaultColormapdefault colormap
Atom_tfClipboardAtomhandle to clipboard
TGMimeTypes*fMimeTypeListlist of mime types

Class Description

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

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()
{ 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()
{ 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()
{ 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()
{ return fCheckered; }
Pixmap_t GetCheckeredBitmap()
{ return fCheckeredBitmap; }
const TGPicture * GetFrameBckgndPicture()
{ return fDefaultBackPicture; }
const TGPicture * GetDocumentBckgndPicture()
{ return fDefaultDocBackPicture; }
Cursor_t GetDefaultCursor()
{ return fDefaultCursor; }
Cursor_t GetGrabCursor()
{ return fGrabCursor; }
Cursor_t GetTextCursor()
{ return fTextCursor; }
Cursor_t GetWaitCursor()
{ return fWaitCursor; }
Colormap_t GetDefaultColormap()
{ return fDefaultColormap; }
TGMimeTypes * GetMimeTypes()
{ return fMimeTypeList; }
Atom_t GetClipboard()
{ return fClipboardAtom; }

Author: Fons Rademakers 19/5/2003
Last update: root/gui:$Name: $:$Id: TGResourcePool.cxx,v 1.9 2006/11/16 17:17:37 rdm Exp $
Copyright (C) 1995-2003, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

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.