#include <TGListBox.h>
Inheritance diagram for TGTextLBEntry:
Public Member Functions | |
TGTextLBEntry (const TGWindow *p=0, TGString *s=0, Int_t id=-1, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t options=kHorizontalFrame, Pixel_t back=GetWhitePixel()) | |
virtual | ~TGTextLBEntry () |
virtual TGDimension | GetDefaultSize () const |
const TGString * | GetText () const |
void | SetText (TGString *new_text) |
virtual const char * | GetTitle () const |
virtual void | SetTitle (const char *text) |
virtual void | DrawCopy (Handle_t id, Int_t x, Int_t y) |
virtual void | Update (TGLBEntry *e) |
GContext_t | GetNormGC () const |
FontStruct_t | GetFontStruct () const |
virtual void | SavePrimitive (ostream &out, Option_t *="") |
TGTextLBEntry (const TGWindow *p=0, TGString *s=0, Int_t id=-1, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t options=kHorizontalFrame, Pixel_t back=GetWhitePixel()) | |
virtual | ~TGTextLBEntry () |
virtual TGDimension | GetDefaultSize () const |
const TGString * | GetText () const |
void | SetText (TGString *new_text) |
virtual const char * | GetTitle () const |
virtual void | SetTitle (const char *text) |
virtual void | DrawCopy (Handle_t id, Int_t x, Int_t y) |
virtual void | Update (TGLBEntry *e) |
GContext_t | GetNormGC () const |
FontStruct_t | GetFontStruct () const |
virtual void | SavePrimitive (ostream &out, Option_t *="") |
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 |
UInt_t | fTWidth |
UInt_t | fTHeight |
Bool_t | fTextChanged |
GContext_t | fNormGC |
FontStruct_t | fFontStruct |
TGString * | fText |
Static Protected Attributes | |
static const TGFont * | fgDefaultFont |
static TGGC * | fgDefaultGC |
static const TGFont * | fgDefaultFont |
static TGGC * | fgDefaultGC |
Private Member Functions | |
TGTextLBEntry (const TGTextLBEntry &) | |
TGTextLBEntry & | operator= (const TGTextLBEntry &) |
TGTextLBEntry (const TGTextLBEntry &) | |
TGTextLBEntry & | operator= (const TGTextLBEntry &) |
Definition at line 92 of file TGListBox.h.
TGTextLBEntry::TGTextLBEntry | ( | const TGTextLBEntry & | ) | [private] |
TGTextLBEntry::TGTextLBEntry | ( | const TGWindow * | p = 0 , |
|
TGString * | s = 0 , |
|||
Int_t | id = -1 , |
|||
GContext_t | norm = GetDefaultGC()() , |
|||
FontStruct_t | font = GetDefaultFontStruct() , |
|||
UInt_t | options = kHorizontalFrame , |
|||
Pixel_t | back = GetWhitePixel() | |||
) |
TGTextLBEntry::~TGTextLBEntry | ( | ) | [virtual] |
TGTextLBEntry::TGTextLBEntry | ( | const TGTextLBEntry & | ) | [private] |
TGTextLBEntry::TGTextLBEntry | ( | const TGWindow * | p = 0 , |
|
TGString * | s = 0 , |
|||
Int_t | id = -1 , |
|||
GContext_t | norm = GetDefaultGC()() , |
|||
FontStruct_t | font = GetDefaultFontStruct() , |
|||
UInt_t | options = kHorizontalFrame , |
|||
Pixel_t | back = GetWhitePixel() | |||
) |
virtual TGTextLBEntry::~TGTextLBEntry | ( | ) | [virtual] |
void TGTextLBEntry::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGLBEntry.
Definition at line 158 of file TGListBox.cxx.
References DrawCopy(), and TGObject::fId.
Referenced by SetText().
TGTextLBEntry& TGTextLBEntry::operator= | ( | const TGTextLBEntry & | ) | [private] |
FontStruct_t TGTextLBEntry::GetDefaultFontStruct | ( | ) | [static] |
Definition at line 185 of file TGListBox.cxx.
References fgDefaultFont, gClient, TGResourcePool::GetDefaultFont(), TGFont::GetFontStruct(), and TGClient::GetResourcePool().
Referenced by TRootGuiBuilder::BuildComboBox(), G__G__Gui2_248_0_4(), G__setup_memfuncTGTextLBEntry(), TGFontTypeComboBox::TGFontTypeComboBox(), and TGFontTypeComboBox::~TGFontTypeComboBox().
const TGGC & TGTextLBEntry::GetDefaultGC | ( | ) | [static] |
Definition at line 195 of file TGListBox.cxx.
References fgDefaultGC, gClient, TGResourcePool::GetFrameGC(), and TGClient::GetResourcePool().
Referenced by G__G__Gui2_248_0_5(), and G__setup_memfuncTGTextLBEntry().
virtual TGDimension TGTextLBEntry::GetDefaultSize | ( | ) | const [inline, virtual] |
const TGString* TGTextLBEntry::GetText | ( | ) | const [inline] |
Definition at line 123 of file TGListBox.h.
References fText.
Referenced by TGLBFrameElement::Compare(), TFitEditor::DoDataSet(), TProofProgressLog::DoLog(), TProofProgressMemoryPlot::DoPlot(), TGFontDialog::GetFontName(), GetTreeVarsAndCuts(), TGComboBox::ReturnPressed(), SavePrimitive(), TProofProgressLog::SaveToFile(), TFitEditor::ShowObjectName(), Update(), and TRootBrowserLite::UpdateDrawOption().
void TGTextLBEntry::SetText | ( | TGString * | new_text | ) |
Definition at line 166 of file TGListBox.cxx.
References DoRedraw(), fFontStruct, fText, fTextChanged, fTHeight, fTWidth, TGString::GetLength(), TGString::GetString(), gVirtualX, kTRUE, and TGFrame::Resize().
Referenced by Update().
virtual const char* TGTextLBEntry::GetTitle | ( | ) | const [inline, virtual] |
Reimplemented from TObject.
Definition at line 125 of file TGListBox.h.
References TString::Data(), and fText.
Referenced by TFitEditor::CreateFunctionGroup(), TFitEditor::DoFunction(), TFitEditor::DoUseFuncRange(), TGLineLBEntry::DrawCopy(), TFitEditor::FindFunction(), and TFitEditor::SetFitObject().
virtual void TGTextLBEntry::SetTitle | ( | const char * | text | ) | [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 134 of file TGListBox.cxx.
References TGString::Draw(), TGLBEntry::fActive, TGLBEntry::fBkcolor, TGObject::fClient, fFontStruct, TGFrame::fgDefaultSelectedBackground, TGFrame::fHeight, fNormGC, fText, fTHeight, TGFrame::fWidth, TGFrame::GetForeground(), TGClient::GetResourcePool(), TGResourcePool::GetSelectedFgndColor(), and gVirtualX.
Referenced by DoRedraw(), TGLineLBEntry::DrawCopy(), and TGIconLBEntry::DrawCopy().
virtual void TGTextLBEntry::Update | ( | TGLBEntry * | e | ) | [inline, virtual] |
Reimplemented from TGLBEntry.
Definition at line 129 of file TGListBox.h.
References GetText(), and SetText().
Referenced by TGIconLBEntry::Update(), and TGLineLBEntry::Update().
GContext_t TGTextLBEntry::GetNormGC | ( | ) | const [inline] |
FontStruct_t TGTextLBEntry::GetFontStruct | ( | ) | const [inline] |
void TGTextLBEntry::SavePrimitive | ( | ostream & | out, | |
Option_t * | = "" | |||
) | [virtual] |
Reimplemented from TGFrame.
Definition at line 1688 of file TGListBox.cxx.
References TGLBEntry::EntryId(), TGString::GetString(), GetText(), and TString::ReplaceAll().
virtual void TGTextLBEntry::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGLBEntry.
TGTextLBEntry& TGTextLBEntry::operator= | ( | const TGTextLBEntry & | ) | [private] |
static FontStruct_t TGTextLBEntry::GetDefaultFontStruct | ( | ) | [static] |
static const TGGC& TGTextLBEntry::GetDefaultGC | ( | ) | [static] |
virtual TGDimension TGTextLBEntry::GetDefaultSize | ( | ) | const [inline, virtual] |
const TGString* TGTextLBEntry::GetText | ( | ) | const [inline] |
void TGTextLBEntry::SetText | ( | TGString * | new_text | ) |
virtual const char* TGTextLBEntry::GetTitle | ( | ) | const [inline, virtual] |
Reimplemented from TObject.
Definition at line 125 of file TGListBox.h.
References TString::Data(), and fText.
virtual void TGTextLBEntry::SetTitle | ( | const char * | text | ) | [inline, virtual] |
Reimplemented from TGFrame.
virtual void TGTextLBEntry::Update | ( | TGLBEntry * | e | ) | [inline, virtual] |
GContext_t TGTextLBEntry::GetNormGC | ( | ) | const [inline] |
FontStruct_t TGTextLBEntry::GetFontStruct | ( | ) | const [inline] |
virtual void TGTextLBEntry::SavePrimitive | ( | ostream & | out, | |
Option_t * | = "" | |||
) | [virtual] |
Reimplemented from TGFrame.
TGString* TGTextLBEntry::fText [protected] |
Definition at line 95 of file TGListBox.h.
Referenced by DrawCopy(), GetText(), GetTitle(), SetText(), SetTitle(), and ~TGTextLBEntry().
UInt_t TGTextLBEntry::fTWidth [protected] |
Definition at line 96 of file TGListBox.h.
Referenced by TGLineLBEntry::DrawCopy(), TGLineLBEntry::GetDefaultSize(), TGIconLBEntry::GetDefaultSize(), GetDefaultSize(), and SetText().
UInt_t TGTextLBEntry::fTHeight [protected] |
Definition at line 97 of file TGListBox.h.
Referenced by DrawCopy(), TGLineLBEntry::GetDefaultSize(), TGIconLBEntry::GetDefaultSize(), GetDefaultSize(), and SetText().
Bool_t TGTextLBEntry::fTextChanged [protected] |
GContext_t TGTextLBEntry::fNormGC [protected] |
Definition at line 99 of file TGListBox.h.
Referenced by DrawCopy(), TGIconLBEntry::DrawCopy(), and GetNormGC().
FontStruct_t TGTextLBEntry::fFontStruct [protected] |
Definition at line 100 of file TGListBox.h.
Referenced by DrawCopy(), GetFontStruct(), and SetText().
const TGFont * TGTextLBEntry::fgDefaultFont [static, protected] |
TGGC * TGTextLBEntry::fgDefaultGC [static, protected] |
TGString* TGTextLBEntry::fText [protected] |
Definition at line 95 of file TGListBox.h.
const TGFont* TGTextLBEntry::fgDefaultFont [static, protected] |
Definition at line 104 of file TGListBox.h.
TGGC* TGTextLBEntry::fgDefaultGC [static, protected] |
Definition at line 105 of file TGListBox.h.