#include <TGFSComboBox.h>
Inheritance diagram for TGTreeLBEntry:
Public Member Functions | |
TGTreeLBEntry (const TGWindow *p=0, TGString *text=0, const TGPicture *pic=0, Int_t id=-1, TGString *path=0, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t options=kHorizontalFrame, Pixel_t back=GetWhitePixel()) | |
virtual | ~TGTreeLBEntry () |
const TGString * | GetText () const |
const TGPicture * | GetPicture () const |
const TGString * | GetPath () const |
virtual TGDimension | GetDefaultSize () const |
virtual void | Activate (Bool_t a) |
virtual void | Update (TGLBEntry *e) |
virtual void | DrawCopy (Handle_t id, Int_t x, Int_t y) |
TGTreeLBEntry (const TGWindow *p=0, TGString *text=0, const TGPicture *pic=0, Int_t id=-1, TGString *path=0, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t options=kHorizontalFrame, Pixel_t back=GetWhitePixel()) | |
virtual | ~TGTreeLBEntry () |
const TGString * | GetText () const |
const TGPicture * | GetPicture () const |
const TGString * | GetPath () const |
virtual TGDimension | GetDefaultSize () const |
virtual void | Activate (Bool_t a) |
virtual void | Update (TGLBEntry *e) |
virtual void | DrawCopy (Handle_t id, Int_t x, Int_t y) |
Static Public Member Functions | |
static FontStruct_t | GetDefaultFontStruct () |
static const TGGC & | GetDefaultGC () |
static FontStruct_t | GetDefaultFontStruct () |
static const TGGC & | GetDefaultGC () |
Protected Member Functions | |
virtual void | DoRedraw () |
virtual void | DoRedraw () |
Protected Attributes | |
TGString * | fText |
TGString * | fPath |
const TGPicture * | fPic |
TGSelectedPicture * | fSelPic |
UInt_t | fTWidth |
UInt_t | fTHeight |
Bool_t | fActive |
GContext_t | fNormGC |
FontStruct_t | fFontStruct |
TGString * | fText |
TGString * | fPath |
const TGPicture * | fPic |
TGSelectedPicture * | fSelPic |
Static Protected Attributes | |
static const TGFont * | fgDefaultFont |
static TGGC * | fgDefaultGC |
static const TGFont * | fgDefaultFont |
static TGGC * | fgDefaultGC |
Definition at line 35 of file TGFSComboBox.h.
TGTreeLBEntry::TGTreeLBEntry | ( | const TGWindow * | p = 0 , |
|
TGString * | text = 0 , |
|||
const TGPicture * | pic = 0 , |
|||
Int_t | id = -1 , |
|||
TGString * | path = 0 , |
|||
GContext_t | norm = GetDefaultGC()() , |
|||
FontStruct_t | font = GetDefaultFontStruct() , |
|||
UInt_t | options = kHorizontalFrame , |
|||
Pixel_t | back = GetWhitePixel() | |||
) |
TGTreeLBEntry::~TGTreeLBEntry | ( | ) | [virtual] |
TGTreeLBEntry::TGTreeLBEntry | ( | const TGWindow * | p = 0 , |
|
TGString * | text = 0 , |
|||
const TGPicture * | pic = 0 , |
|||
Int_t | id = -1 , |
|||
TGString * | path = 0 , |
|||
GContext_t | norm = GetDefaultGC()() , |
|||
FontStruct_t | font = GetDefaultFontStruct() , |
|||
UInt_t | options = kHorizontalFrame , |
|||
Pixel_t | back = GetWhitePixel() | |||
) |
virtual TGTreeLBEntry::~TGTreeLBEntry | ( | ) | [virtual] |
void TGTreeLBEntry::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGLBEntry.
Definition at line 148 of file TGFSComboBox.cxx.
References DrawCopy(), and TGObject::fId.
Referenced by Activate().
FontStruct_t TGTreeLBEntry::GetDefaultFontStruct | ( | ) | [static] |
Definition at line 183 of file TGFSComboBox.cxx.
References fgDefaultFont, gClient, TGResourcePool::GetDefaultFont(), TGFont::GetFontStruct(), and TGClient::GetResourcePool().
Referenced by G__G__Gui2_344_0_2(), and G__setup_memfuncTGTreeLBEntry().
const TGGC & TGTreeLBEntry::GetDefaultGC | ( | ) | [static] |
Definition at line 193 of file TGFSComboBox.cxx.
References fgDefaultGC, gClient, TGResourcePool::GetFrameGC(), and TGClient::GetResourcePool().
Referenced by G__G__Gui2_344_0_3(), and G__setup_memfuncTGTreeLBEntry().
const TGString* TGTreeLBEntry::GetText | ( | ) | const [inline] |
const TGPicture* TGTreeLBEntry::GetPicture | ( | ) | const [inline] |
const TGString* TGTreeLBEntry::GetPath | ( | ) | const [inline] |
Definition at line 65 of file TGFSComboBox.h.
References fPath.
Referenced by TRootBrowserLite::ProcessMessage(), and TGFileDialog::ProcessMessage().
TGDimension TGTreeLBEntry::GetDefaultSize | ( | ) | const [virtual] |
Reimplemented from TGFrame.
Definition at line 156 of file TGFSComboBox.cxx.
References fPic, fTHeight, fTWidth, TGPicture::GetHeight(), TGPicture::GetWidth(), and TMath::Max().
void TGTreeLBEntry::Activate | ( | Bool_t | a | ) | [virtual] |
Reimplemented from TGLBEntry.
Definition at line 101 of file TGFSComboBox.cxx.
References DoRedraw(), fActive, TGObject::fClient, fPic, and fSelPic.
void TGTreeLBEntry::Update | ( | TGLBEntry * | e | ) | [virtual] |
Reimplemented from TGLBEntry.
Definition at line 168 of file TGFSComboBox.cxx.
References TGObject::fClient, fFontStruct, TGObject::fId, fPic, fText, fTWidth, GetPicture(), GetText(), gVirtualX, and TGClient::NeedRedraw().
Reimplemented from TGFrame.
Definition at line 118 of file TGFSComboBox.cxx.
References TGString::Draw(), TGPicture::Draw(), fActive, TGObject::fClient, fFontStruct, TGFrame::fgBlackPixel, TGFrame::fgDefaultSelectedBackground, TGFrame::fgWhitePixel, TGFrame::fHeight, fNormGC, fPic, fSelPic, fText, fTHeight, fTWidth, TGPicture::GetHeight(), TGClient::GetResourcePool(), TGResourcePool::GetSelectedFgndColor(), TGPicture::GetWidth(), gVirtualX, and int.
Referenced by DoRedraw().
virtual void TGTreeLBEntry::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGLBEntry.
static FontStruct_t TGTreeLBEntry::GetDefaultFontStruct | ( | ) | [static] |
static const TGGC& TGTreeLBEntry::GetDefaultGC | ( | ) | [static] |
const TGString* TGTreeLBEntry::GetText | ( | ) | const [inline] |
const TGPicture* TGTreeLBEntry::GetPicture | ( | ) | const [inline] |
const TGString* TGTreeLBEntry::GetPath | ( | ) | const [inline] |
virtual TGDimension TGTreeLBEntry::GetDefaultSize | ( | ) | const [virtual] |
Reimplemented from TGFrame.
Reimplemented from TGFrame.
TGString* TGTreeLBEntry::fText [protected] |
Definition at line 38 of file TGFSComboBox.h.
Referenced by DrawCopy(), GetText(), Update(), and ~TGTreeLBEntry().
TGString* TGTreeLBEntry::fPath [protected] |
const TGPicture* TGTreeLBEntry::fPic [protected] |
Definition at line 40 of file TGFSComboBox.h.
Referenced by Activate(), DrawCopy(), GetDefaultSize(), GetPicture(), and Update().
TGSelectedPicture* TGTreeLBEntry::fSelPic [protected] |
Definition at line 41 of file TGFSComboBox.h.
Referenced by Activate(), DrawCopy(), and ~TGTreeLBEntry().
UInt_t TGTreeLBEntry::fTWidth [protected] |
Definition at line 42 of file TGFSComboBox.h.
Referenced by DrawCopy(), GetDefaultSize(), and Update().
UInt_t TGTreeLBEntry::fTHeight [protected] |
Bool_t TGTreeLBEntry::fActive [protected] |
Reimplemented from TGLBEntry.
Definition at line 44 of file TGFSComboBox.h.
Referenced by Activate(), and DrawCopy().
GContext_t TGTreeLBEntry::fNormGC [protected] |
FontStruct_t TGTreeLBEntry::fFontStruct [protected] |
const TGFont * TGTreeLBEntry::fgDefaultFont [static, protected] |
TGGC * TGTreeLBEntry::fgDefaultGC [static, protected] |
TGString* TGTreeLBEntry::fText [protected] |
Definition at line 38 of file TGFSComboBox.h.
TGString* TGTreeLBEntry::fPath [protected] |
Definition at line 39 of file TGFSComboBox.h.
const TGPicture* TGTreeLBEntry::fPic [protected] |
Definition at line 40 of file TGFSComboBox.h.
TGSelectedPicture* TGTreeLBEntry::fSelPic [protected] |
Definition at line 41 of file TGFSComboBox.h.
const TGFont* TGTreeLBEntry::fgDefaultFont [static, protected] |
Definition at line 50 of file TGFSComboBox.h.
TGGC* TGTreeLBEntry::fgDefaultGC [static, protected] |
Definition at line 51 of file TGFSComboBox.h.