TGPicture
class description - source file - inheritance tree
protected:
TGPicture TGPicture(const char* name, Bool_t scaled = kFALSE)
virtual void Draw(Option_t*)
static const char* HashName(const char* name, Int_t width, Int_t height) const
public:
TGPicture TGPicture(TGPicture&)
virtual void ~TGPicture()
static TClass* Class()
virtual void Draw(Handle_t id, GContext_t gc, Int_t x, Int_t y) const
UInt_t GetHeight() const
Pixmap_t GetMask() const
virtual const char* GetName() const
Pixmap_t GetPicture() const
UInt_t GetWidth() const
virtual ULong_t Hash()
virtual TClass* IsA() const
Bool_t IsScaled() const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
protected:
TString fName name of picture
Bool_t fScaled kTRUE if picture is scaled
Pixmap_t fPic picture pixmap
Pixmap_t fMask picture mask pixmap
PictureAttributes_t fAttributes picture attributes
See also
-
TGSelectedPicture
TGPicture & TGPicturePool
The TGPicture class implements pictures and icons used in the
different GUI elements and widgets. The TGPicturePool class
implements a TGPicture cache. TGPictures are created, managed and
destroyed by the TGPicturePool.
void Draw(Handle_t id, GContext_t gc, Int_t x, Int_t y) const
Draw a picture.
~TGPicture()
Delete picture object.
const char* HashName(const char *name, Int_t width, Int_t height)
Static function returning a unique name used to look up a picture.
The unique name has the form "name__widthxheight".
Inline Functions
TGPicture TGPicture(const char* name, Bool_t scaled = kFALSE)
const char* GetName() const
UInt_t GetWidth() const
UInt_t GetHeight() const
Pixmap_t GetPicture() const
Pixmap_t GetMask() const
Bool_t IsScaled() const
ULong_t Hash()
void Draw(Handle_t id, GContext_t gc, Int_t x, Int_t y) const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
TGPicture TGPicture(TGPicture&)
Author: Fons Rademakers 01/01/98
Last update: root/gui:$Name: $:$Id: TGPicture.cxx,v 1.2 2000/09/29 08:57:05 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - 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.