#include <TGPicture.h>
Inheritance diagram for TGPicture:
Public Member Functions | |
virtual | ~TGPicture () |
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 () const |
virtual void | Draw (Handle_t id, GContext_t gc, Int_t x, Int_t y) const |
void | Print (Option_t *option="") const |
virtual | ~TGPicture () |
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 () const |
virtual void | Draw (Handle_t id, GContext_t gc, Int_t x, Int_t y) const |
void | Print (Option_t *option="") const |
Static Public Member Functions | |
static const char * | HashName (const char *name, Int_t width, Int_t height) |
static const char * | HashName (const char *name, Int_t width, Int_t height) |
Protected Member Functions | |
TGPicture (const char *name, Bool_t scaled=kFALSE) | |
TGPicture (const char *name, Pixmap_t pxmap, Pixmap_t mask=0) | |
void | Draw (Option_t *="") |
TGPicture (const char *name, Bool_t scaled=kFALSE) | |
TGPicture (const char *name, Pixmap_t pxmap, Pixmap_t mask=0) | |
void | Draw (Option_t *="") |
Protected Attributes | |
TString | fName |
Bool_t | fScaled |
Pixmap_t | fPic |
Pixmap_t | fMask |
PictureAttributes_t | fAttributes |
Friends | |
class | TGPicturePool |
Definition at line 46 of file TGPicture.h.
Definition at line 57 of file TGPicture.h.
References fAttributes, PictureAttributes_t::fPixels, and TRefCnt::SetRefCount().
Definition at line 310 of file TGPicture.cxx.
References fAttributes, PictureAttributes_t::fCloseness, PictureAttributes_t::fColormap, PictureAttributes_t::fDepth, PictureAttributes_t::fHeight, fMask, PictureAttributes_t::fMask, fName, PictureAttributes_t::fNpixels, fPic, PictureAttributes_t::fPixels, fScaled, PictureAttributes_t::fWidth, PictureAttributes_t::fXHotspot, PictureAttributes_t::fYHotspot, gClient, TGClient::GetDefaultColormap(), gVirtualX, kFALSE, kPACloseness, kPAColormap, kPASize, TRefCnt::SetRefCount(), and xy.
TGPicture::~TGPicture | ( | ) | [virtual] |
Definition at line 353 of file TGPicture.cxx.
References fAttributes, fMask, fPic, PictureAttributes_t::fPixels, gVirtualX, and kNone.
Definition at line 57 of file TGPicture.h.
References fAttributes, PictureAttributes_t::fPixels, and TRefCnt::SetRefCount().
virtual TGPicture::~TGPicture | ( | ) | [virtual] |
void TGPicture::Draw | ( | Option_t * | = "" |
) | [inline, protected, virtual] |
Reimplemented from TObject.
Definition at line 67 of file TGPicture.h.
References TObject::MayNotUse().
Referenced by TGCheckButton::DoRedraw(), TGToolButton::DoRedraw(), TGuiBldToolButton::DoRedraw(), TGedMarkerSelect::DoRedraw(), TGVSlider::DoRedraw(), TGDoubleVSlider::DoRedraw(), TGRadioButton::DoRedraw(), TGIcon::DoRedraw(), TGPictureButton::DoRedraw(), TGFileIcon::DoRedraw(), TGFileItem::DoRedraw(), TGDoubleHSlider::DoRedraw(), TGHSlider::DoRedraw(), TGHSplitter::DrawBorder(), TGVSplitter::DrawBorder(), TGScrollBarElement::DrawBorder(), TGTabElement::DrawBorder(), TGTreeLBEntry::DrawCopy(), TGLVEntry::DrawCopy(), TGIconLBEntry::DrawCopy(), TGListTree::DrawItem(), TGTripleHSlider::DrawPointer(), and TGTripleVSlider::DrawPointer().
const char* TGPicture::GetName | ( | ) | const [inline, virtual] |
Reimplemented from TObject.
Definition at line 72 of file TGPicture.h.
References fName.
Referenced by TGSlider::CreateDisabledPicture(), TGPictureButton::CreateDisabledPicture(), TGListTree::HandleMotion(), Print(), TGToolBar::SavePrimitive(), TGPopupMenu::SavePrimitive(), TGListTreeItemStd::SavePrimitive(), TGIcon::SavePrimitive(), TGPictureButton::SavePrimitive(), and TGScrollBarElement::SetEnabled().
UInt_t TGPicture::GetWidth | ( | ) | const [inline] |
Definition at line 73 of file TGPicture.h.
References fAttributes, and PictureAttributes_t::fWidth.
Referenced by TSessionViewer::Build(), TSessionFrame::Build(), TGSpeedo::Build(), TGShapedToolTip::CreateCanvas(), TGSlider::CreateDisabledPicture(), TGPictureButton::CreateDisabledPicture(), TGDoubleVSlider::DoRedraw(), TGSpeedo::DoRedraw(), TGFileItem::DoRedraw(), TGDoubleHSlider::DoRedraw(), TGHSplitter::DrawBorder(), TGVSplitter::DrawBorder(), TGScrollBarElement::DrawBorder(), TGTreeLBEntry::DrawCopy(), TGLVEntry::DrawCopy(), TGIconLBEntry::DrawCopy(), TGListTree::DrawItem(), TGListTree::DrawOutline(), TGSpeedo::DrawText(), TGLVEntry::GetDefaultSize(), TGTreeLBEntry::GetDefaultSize(), TGCheckButton::GetDefaultSize(), TGSpeedo::GetDefaultSize(), TGIcon::GetDefaultSize(), TGRadioButton::GetDefaultSize(), TGPicturePool::GetPicture(), TGListTreeItem::GetPicWidth(), GTitleFrame::GTitleFrame(), TGListTree::HandleButton(), TGSpeedo::HandleButton(), TGListTree::HandleMotion(), TGMsgBox::PMsgBox(), RootShowerAbout::RootShowerAbout(), RootShowerMsgBox::RootShowerMsgBox(), TGScrollBarElement::SetEnabled(), TGPictureButton::SetPicture(), TGAppMainFrame::TGAppMainFrame(), TGPictureButton::TGPictureButton(), TGShapedMain::TGShapedMain(), and TGSpeedo::Translate().
UInt_t TGPicture::GetHeight | ( | ) | const [inline] |
Definition at line 74 of file TGPicture.h.
References fAttributes, and PictureAttributes_t::fHeight.
Referenced by TSessionViewer::Build(), TSessionFrame::Build(), TGSpeedo::Build(), TGShapedToolTip::CreateCanvas(), TGSlider::CreateDisabledPicture(), TGPictureButton::CreateDisabledPicture(), TGDoubleVSlider::DoRedraw(), TGSpeedo::DoRedraw(), TGFileItem::DoRedraw(), TGDoubleHSlider::DoRedraw(), TGHSplitter::DrawBorder(), TGVSplitter::DrawBorder(), TGScrollBarElement::DrawBorder(), TGTreeLBEntry::DrawCopy(), TGLVEntry::DrawCopy(), TGListTree::DrawItem(), TGSpeedo::DrawText(), TGListTree::FindItem(), TGLVEntry::GetDefaultSize(), TGTreeLBEntry::GetDefaultSize(), TGCheckButton::GetDefaultSize(), TGIcon::GetDefaultSize(), TGSpeedo::GetDefaultSize(), TGRadioButton::GetDefaultSize(), TGPicturePool::GetPicture(), GTitleFrame::GTitleFrame(), TGSpeedo::HandleButton(), TGListTree::LineDown(), TGListTree::LineUp(), TGMsgBox::PMsgBox(), RootShowerAbout::RootShowerAbout(), RootShowerMsgBox::RootShowerMsgBox(), TGListTree::SearchChildren(), TGScrollBarElement::SetEnabled(), TGPictureButton::SetPicture(), TGAppMainFrame::TGAppMainFrame(), TGPictureButton::TGPictureButton(), TGShapedMain::TGShapedMain(), and TGSpeedo::Translate().
Pixmap_t TGPicture::GetPicture | ( | ) | const [inline] |
Definition at line 75 of file TGPicture.h.
References fPic.
Referenced by ClassImp(), TGSlider::CreateDisabledPicture(), TGPictureButton::CreateDisabledPicture(), TGContainer::SetDragPixmap(), TGScrollBarElement::SetEnabled(), TGMainFrame::SetIconPixmap(), TGAppMainFrame::TGAppMainFrame(), TGShapedMain::TGShapedMain(), and TRootGuiBuilder::TRootGuiBuilder().
Pixmap_t TGPicture::GetMask | ( | ) | const [inline] |
Definition at line 76 of file TGPicture.h.
References fMask.
Referenced by TGSpeedo::Build(), TGSlider::CreateDisabledPicture(), TGPictureButton::CreateDisabledPicture(), TGContainer::SetDragPixmap(), TGScrollBarElement::SetEnabled(), and TGShapedMain::TGShapedMain().
Bool_t TGPicture::IsScaled | ( | ) | const [inline] |
Definition at line 77 of file TGPicture.h.
References fScaled.
Referenced by TGPicturePool::GetPicture().
ULong_t TGPicture::Hash | ( | ) | const [inline, virtual] |
Reimplemented from TObject.
Definition at line 78 of file TGPicture.h.
References fName, and TString::Hash().
Definition at line 366 of file TGPicture.cxx.
References TString::Data(), and TString::Form().
Referenced by G__G__Gui1_135_0_11(), G__setup_memfuncTGPicture(), and TGPicturePool::GetPicture().
void TGPicture::Draw | ( | Handle_t | id, | |
GContext_t | gc, | |||
Int_t | x, | |||
Int_t | y | |||
) | const [virtual] |
Definition at line 334 of file TGPicture.cxx.
References fAttributes, GCValues_t::fClipMask, GCValues_t::fClipXOrigin, GCValues_t::fClipYOrigin, PictureAttributes_t::fHeight, fMask, GCValues_t::fMask, fPic, PictureAttributes_t::fWidth, gVirtualX, kGCClipMask, kGCClipXOrigin, kGCClipYOrigin, and kNone.
void TGPicture::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Reimplemented from TObject.
Definition at line 378 of file TGPicture.cxx.
References fPic, fScaled, GetName(), Printf(), and TRefCnt::References().
void TGPicture::Draw | ( | Option_t * | = "" |
) | [inline, protected, virtual] |
Reimplemented from TObject.
Definition at line 67 of file TGPicture.h.
References TObject::MayNotUse().
const char* TGPicture::GetName | ( | ) | const [inline, virtual] |
UInt_t TGPicture::GetWidth | ( | ) | const [inline] |
UInt_t TGPicture::GetHeight | ( | ) | const [inline] |
Definition at line 74 of file TGPicture.h.
References fAttributes, and PictureAttributes_t::fHeight.
Pixmap_t TGPicture::GetPicture | ( | ) | const [inline] |
Pixmap_t TGPicture::GetMask | ( | ) | const [inline] |
Bool_t TGPicture::IsScaled | ( | ) | const [inline] |
ULong_t TGPicture::Hash | ( | ) | const [inline, virtual] |
Reimplemented from TObject.
Definition at line 78 of file TGPicture.h.
References fName, and TString::Hash().
virtual void TGPicture::Draw | ( | Handle_t | id, | |
GContext_t | gc, | |||
Int_t | x, | |||
Int_t | y | |||
) | const [virtual] |
TGPicturePool [friend] |
Definition at line 48 of file TGPicture.h.
TString TGPicture::fName [protected] |
Bool_t TGPicture::fScaled [protected] |
Pixmap_t TGPicture::fPic [protected] |
Definition at line 53 of file TGPicture.h.
Referenced by Draw(), TGPicturePool::GetPicture(), GetPicture(), Print(), TGPicture(), TGSelectedPicture::TGSelectedPicture(), and ~TGPicture().
Pixmap_t TGPicture::fMask [protected] |
Definition at line 54 of file TGPicture.h.
Referenced by Draw(), GetMask(), TGPicture(), TGSelectedPicture::TGSelectedPicture(), ~TGPicture(), and TGSelectedPicture::~TGSelectedPicture().
PictureAttributes_t TGPicture::fAttributes [protected] |
Definition at line 55 of file TGPicture.h.
Referenced by Draw(), GetHeight(), TGPicturePool::GetPicture(), GetWidth(), TGPicture(), TGSelectedPicture::TGSelectedPicture(), and ~TGPicture().