12 #ifndef ROOT_TGPicture
13 #define ROOT_TGPicture
static const char * HashName(const char *name, Int_t width, Int_t height)
Static function returning a unique name used to look up a picture.
TGPicturePool(const TGPicturePool &)
void MayNotUse(const char *method) const
Use this method to signal that a method (defined in a base class) may not be called in a derived clas...
Definitions for TRefCnt, base class for reference counted objects.
PictureAttributes_t fAttributes
TGPicturePool(const TGClient *client, const char *path)
virtual ~TGSelectedPicture()
Delete selected picture.
TGSelectedPicture(const TGSelectedPicture &gp)
void Draw(Option_t *="")
Default Draw method for all objects.
THashTable implements a hash table to store TObject's.
#define ClassDef(name, id)
static TGGC * fgSelectedGC
void Print(Option_t *option="") const
Print picture info.
void FreePicture(const TGPicture *pic)
Remove picture from cache if nobody is using it anymore.
const char * GetName() const
Returns name of object.
TObject & operator=(const TObject &rhs)
TObject assignment operator.
void SetRefCount(UInt_t r)
virtual ~TGPicture()
Delete picture object.
const TGPicture * GetPicture(const char *name)
Get a picture from the picture pool.
static TGGC & GetSelectedGC()
Return selection graphics context in use.
Pixmap_t GetPicture() const
virtual ~TGPicturePool()
Delete picture cache.
TGSelectedPicture & operator=(const TGSelectedPicture &gp)
TGPicture(const char *name, Bool_t scaled=kFALSE)
Mother of all ROOT objects.
const char * GetPath() const
void Print(Option_t *option="") const
List all pictures in the pool.
ULong_t Hash() const
Return hash value for this object.
TGPicturePool & operator=(const TGPicturePool &)
assignment operator
UInt_t Hash(ECaseCompare cmp=kExact) const
Return hash value.