#ifndef ROOT_TGResourcePool
#define ROOT_TGResourcePool
#ifndef ROOT_TGObject
#include "TGObject.h"
#endif
class TGClient;
class TGFontPool;
class TGFont;
class TGGCPool;
class TGGC;
class TGPicturePool;
class TGPicture;
class TGMimeTypes;
class TGResourcePool : public TGObject {
private:
   Pixel_t          fBackColor;        
   Pixel_t          fForeColor;        
   Pixel_t          fHilite;           
   Pixel_t          fShadow;           
   Pixel_t          fSelBackColor;     
   Pixel_t          fSelForeColor;     
   Pixel_t          fDocBackColor;     
   Pixel_t          fDocForeColor;     
   Pixel_t          fTipBackColor;     
   Pixel_t          fTipForeColor;     
   Pixel_t          fWhite;            
   Pixel_t          fBlack;            
   TGFontPool      *fFontPool;         
   TGFont          *fDefaultFont;      
   TGFont          *fMenuFont;         
   TGFont          *fMenuHiFont;       
   TGFont          *fDocFixedFont;     
   TGFont          *fDocPropFont;      
   TGFont          *fIconFont;         
   TGFont          *fStatusFont;       
   TGPicturePool   *fPicturePool;        
   const TGPicture *fDefaultBackPicture;    
   const TGPicture *fDefaultDocBackPicture; 
   TGGCPool        *fGCPool;           
   TGGC            *fWhiteGC;          
   TGGC            *fBlackGC;          
   TGGC            *fFrameGC;          
   TGGC            *fBckgndGC;         
   TGGC            *fHiliteGC;         
   TGGC            *fShadowGC;         
   TGGC            *fFocusGC;          
   TGGC            *fDocGC;            
   TGGC            *fDocbgndGC;        
   TGGC            *fSelGC;            
   TGGC            *fSelbgndGC;        
   TGGC            *fTipGC;            
   Pixmap_t        fCheckered;         
   Pixmap_t        fCheckeredBitmap;   
   Cursor_t        fDefaultCursor;     
   Cursor_t        fGrabCursor;        
   Cursor_t        fTextCursor;        
   Cursor_t        fWaitCursor;        
   Colormap_t      fDefaultColormap;   
   Atom_t          fClipboardAtom;     
   TGMimeTypes    *fMimeTypeList;      
public:
   TGResourcePool(TGClient *client);
   virtual ~TGResourcePool();
   TGGCPool       *GetGCPool() const { return fGCPool; }
   TGFontPool     *GetFontPool() const { return fFontPool; }
   TGPicturePool  *GetPicturePool() const { return fPicturePool; }
   
   
   Pixel_t GetWhiteColor()        const { 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 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 { 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 { 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 { return fCheckered; }
   Pixmap_t GetCheckeredBitmap() const { return fCheckeredBitmap; }
   const TGPicture *GetFrameBckgndPicture() const
         { return fDefaultBackPicture; }
   const TGPicture *GetDocumentBckgndPicture() const
         { return fDefaultDocBackPicture; }
   
   Cursor_t GetDefaultCursor() const { return fDefaultCursor; }
   Cursor_t GetGrabCursor()    const { return fGrabCursor; }
   Cursor_t GetTextCursor()    const { return fTextCursor; }
   Cursor_t GetWaitCursor()    const { return fWaitCursor; }
   
   Colormap_t GetDefaultColormap() const { return fDefaultColormap; }
   
   TGMimeTypes *GetMimeTypes() const { return fMimeTypeList; }
   Atom_t       GetClipboard() const { return fClipboardAtom; }
   ClassDef(TGResourcePool,0)  
};
#endif
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.