#include <TGStatusBar.h>
Inheritance diagram for TGStatusBar:
Public Member Functions | |
TGStatusBar (const TGWindow *p=0, UInt_t w=4, UInt_t h=2, UInt_t options=kSunkenFrame|kHorizontalFrame, Pixel_t back=GetDefaultFrameBackground()) | |
virtual | ~TGStatusBar () |
virtual void | DrawBorder () |
virtual void | SetText (TGString *text, Int_t partidx=0) |
virtual void | SetText (const char *text, Int_t partidx=0) |
void | AddText (const char *text, Int_t partidx=0) |
const char * | GetText (Int_t partidx=0) const |
virtual void | SetParts (Int_t npart) |
virtual void | SetParts (Int_t *parts, Int_t npart) |
void | Draw3DCorner (Bool_t corner) |
TGCompositeFrame * | GetBarPart (Int_t npart) const |
TGDimension | GetDefaultSize () const |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
TGStatusBar (const TGWindow *p=0, UInt_t w=4, UInt_t h=2, UInt_t options=kSunkenFrame|kHorizontalFrame, Pixel_t back=GetDefaultFrameBackground()) | |
virtual | ~TGStatusBar () |
virtual void | DrawBorder () |
virtual void | SetText (TGString *text, Int_t partidx=0) |
virtual void | SetText (const char *text, Int_t partidx=0) |
void | AddText (const char *text, Int_t partidx=0) |
const char * | GetText (Int_t partidx=0) const |
virtual void | SetParts (Int_t npart) |
virtual void | SetParts (Int_t *parts, Int_t npart) |
void | Draw3DCorner (Bool_t corner) |
TGCompositeFrame * | GetBarPart (Int_t npart) const |
TGDimension | GetDefaultSize () const |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
Protected Member Functions | |
virtual void | DoRedraw () |
virtual void | DoRedraw () |
Static Protected Member Functions | |
static FontStruct_t | GetDefaultFontStruct () |
static const TGGC & | GetDefaultGC () |
static FontStruct_t | GetDefaultFontStruct () |
static const TGGC & | GetDefaultGC () |
Protected Attributes | |
TGStatusBarPart ** | fStatusPart |
Int_t * | fParts |
Int_t | fNpart |
Int_t | fYt |
Int_t * | fXt |
Bool_t | f3DCorner |
TGStatusBarPart ** | fStatusPart |
Int_t * | fParts |
Int_t * | fXt |
Static Protected Attributes | |
static const TGFont * | fgDefaultFont |
static TGGC * | fgDefaultGC |
static const TGFont * | fgDefaultFont |
static TGGC * | fgDefaultGC |
Private Member Functions | |
TGStatusBar (const TGStatusBar &) | |
TGStatusBar & | operator= (const TGStatusBar &) |
TGStatusBar (const TGStatusBar &) | |
TGStatusBar & | operator= (const TGStatusBar &) |
Friends | |
class | TGStatusBarPart |
Definition at line 31 of file TGStatusBar.h.
TGStatusBar::TGStatusBar | ( | const TGStatusBar & | ) | [private] |
TGStatusBar::TGStatusBar | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 4 , |
|||
UInt_t | h = 2 , |
|||
UInt_t | options = kSunkenFrame|kHorizontalFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
TGStatusBar::~TGStatusBar | ( | ) | [virtual] |
Definition at line 124 of file TGStatusBar.cxx.
References fNpart, fParts, fStatusPart, fXt, i, and TGCompositeFrame::MustCleanup().
TGStatusBar::TGStatusBar | ( | const TGStatusBar & | ) | [private] |
TGStatusBar::TGStatusBar | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 4 , |
|||
UInt_t | h = 2 , |
|||
UInt_t | options = kSunkenFrame|kHorizontalFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
virtual TGStatusBar::~TGStatusBar | ( | ) | [virtual] |
TGStatusBar& TGStatusBar::operator= | ( | const TGStatusBar & | ) | [private] |
void TGStatusBar::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
Definition at line 234 of file TGStatusBar.cxx.
References TGFrame::DoRedraw(), fNpart, fStatusPart, and i.
FontStruct_t TGStatusBar::GetDefaultFontStruct | ( | ) | [static, protected] |
Definition at line 328 of file TGStatusBar.cxx.
References fgDefaultFont, gClient, TGFont::GetFontStruct(), TGClient::GetResourcePool(), and TGResourcePool::GetStatusFont().
Referenced by ClassImp().
const TGGC & TGStatusBar::GetDefaultGC | ( | ) | [static, protected] |
Definition at line 338 of file TGStatusBar.cxx.
References fgDefaultFont, fgDefaultGC, gClient, TGFont::GetFontHandle(), TGResourcePool::GetFrameGC(), TGClient::GetResourcePool(), and TGGC::SetFont().
Referenced by TGStatusBarPart::DoRedraw().
void TGStatusBar::DrawBorder | ( | ) | [virtual] |
Reimplemented from TGFrame.
Definition at line 176 of file TGStatusBar.cxx.
References f3DCorner, TGFrame::fHeight, TGObject::fId, fNpart, fParts, fStatusPart, TGFrame::fWidth, fXt, TGFrame::GetBckgndGC(), TGFrame::GetHilightGC(), TGFrame::GetShadowGC(), gVirtualX, i, TGFrame::MoveResize(), xmax, and xmin.
Definition at line 140 of file TGStatusBar.cxx.
References TObject::Error(), fNpart, fStatusPart, TGStatusBarPart::SetText(), and text().
Referenced by AddText(), TGTextEditor::Build(), TSessionViewer::Build(), TGRootIDE::Build(), TGTextEditor::ClearText(), TGRootIDE::ClearText(), TFitEditor::CreateMinimizationTab(), TGTextEditor::DataDropped(), TRootBrowserLite::DisplayTotal(), RootShower::DistancetoPrimitive(), TFitEditor::DoLibrary(), TFitEditor::DoMaxIterations(), TFitEditor::DoMinMethod(), TFitEditor::DoNoSelection(), TFitEditor::DoPrintOpt(), TRootGuiBuilder::EraseStatusBar(), TFitEditor::FillMinMethodList(), TSessionViewer::HandleTimer(), TGTextEditor::HandleTimer(), TGRootIDE::HandleTimer(), RootShower::Initialize(), TGTextEditor::LoadFile(), TTreeViewer::Message(), TGRootIDE::MouseOver(), TGHtmlBrowser::MouseOver(), TSessionServerFrame::OnBtnConnectClicked(), TSessionFrame::OnBtnDisconnectClicked(), SplitGLView::OnClicked(), TSessionViewer::OnListTreeClicked(), SplitGLView::OnMouseOver(), RootShower::OnOpenFile(), RootShower::OnShowerProduce(), TGRootIDE::PrintText(), TGTextEditor::PrintText(), TRootBrowserLite::ProcessMessage(), RootShower::ProcessMessage(), XSGui::ProcessMessage(), RootShower::Produce(), TFitEditor::RecursiveRemove(), TSessionViewer::ResetSession(), RootShower::RootShower(), TGRootIDE::SaveFile(), TGTextEditor::SaveFile(), MyMainFrame::SetStatusText(), TRootBrowser::SetStatusText(), TRootCanvas::SetStatusText(), TRootBrowserLite::SetStatusText(), SetText(), TSessionViewer::ShowInfo(), TFitEditor::ShowObjectName(), TSessionFrame::ShutdownSession(), TSessionViewer::StartupMessage(), TGRootIDE::TGRootIDE(), TGTextEditor::TGTextEditor(), TRootBrowserLite::ToSystemDirectory(), TSessionViewer::UpdateListOfProofs(), TRootGuiBuilder::UpdateStatusBar(), TStyleManager::UpdateStatusBar(), and XSGui::XSGui().
void TGStatusBar::SetText | ( | const char * | text, | |
Int_t | partidx = 0 | |||
) | [virtual] |
void TGStatusBar::AddText | ( | const char * | text, | |
Int_t | partidx = 0 | |||
) | [inline] |
const char * TGStatusBar::GetText | ( | Int_t | partidx = 0 |
) | const |
Definition at line 162 of file TGStatusBar.cxx.
References TObject::Error(), fNpart, fStatusPart, TGStatusBarPart::GetText(), and str.
Referenced by SavePrimitive().
void TGStatusBar::SetParts | ( | Int_t | npart | ) | [virtual] |
Definition at line 288 of file TGStatusBar.cxx.
References TGCompositeFrame::AddFrame(), TList::Delete(), TObject::Error(), TGFrame::fHeight, TGCompositeFrame::fList, fNpart, fParts, fStatusPart, fXt, fYt, i, TGStatusBarPart, and TObject::Warning().
Referenced by TGTextEditor::Build(), TSessionViewer::Build(), TGRootIDE::Build(), TRootBrowser::CreateBrowser(), TRootBrowserLite::CreateBrowser(), TRootCanvas::CreateCanvas(), RootShower::RootShower(), SplitGLView::SplitGLView(), TFitEditor::TFitEditor(), TGHtmlBrowser::TGHtmlBrowser(), and TStyleManager::TStyleManager().
Definition at line 246 of file TGStatusBar.cxx.
References TGCompositeFrame::AddFrame(), TList::Delete(), TObject::Error(), TGFrame::fHeight, TGCompositeFrame::fList, fNpart, fParts, fStatusPart, fXt, fYt, i, TGStatusBarPart, and TObject::Warning().
void TGStatusBar::Draw3DCorner | ( | Bool_t | corner | ) | [inline] |
Definition at line 69 of file TGStatusBar.h.
References f3DCorner.
Referenced by TTreeViewer::BuildInterface(), and TStyleManager::TStyleManager().
TGCompositeFrame * TGStatusBar::GetBarPart | ( | Int_t | npart | ) | const |
Definition at line 350 of file TGStatusBar.cxx.
References fNpart, and fStatusPart.
Referenced by TSessionViewer::Build(), and TSessionServerFrame::OnBtnConnectClicked().
TGDimension TGStatusBar::GetDefaultSize | ( | ) | const [virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 359 of file TGStatusBar.cxx.
References TGFrame::fHeight, fNpart, fStatusPart, TGFrame::fWidth, TGCompositeFrame::GetDefaultHeight(), h, i, and TMath::Max().
void TGStatusBar::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGHorizontalFrame.
Definition at line 372 of file TGStatusBar.cxx.
References TGFrame::fBackground, TGFrameElement::fFrame, TGFrameElement::fLayout, fNpart, TGWindow::fParent, fParts, fStatusPart, TGFrame::GetDefaultFrameBackground(), TGFrame::GetHeight(), TGCompositeFrame::GetList(), TGWindow::GetName(), TGFrame::GetOptions(), TGFrame::GetOptionString(), GetText(), TGFrame::GetWidth(), i, kHorizontalFrame, kSunkenFrame, out, TGFrame::SavePrimitive(), TGLayoutHints::SavePrimitive(), and TGFrame::SaveUserColor().
TGStatusBar& TGStatusBar::operator= | ( | const TGStatusBar & | ) | [private] |
virtual void TGStatusBar::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
static FontStruct_t TGStatusBar::GetDefaultFontStruct | ( | ) | [static, protected] |
static const TGGC& TGStatusBar::GetDefaultGC | ( | ) | [static, protected] |
virtual void TGStatusBar::DrawBorder | ( | ) | [virtual] |
Reimplemented from TGFrame.
virtual void TGStatusBar::SetText | ( | const char * | text, | |
Int_t | partidx = 0 | |||
) | [virtual] |
void TGStatusBar::AddText | ( | const char * | text, | |
Int_t | partidx = 0 | |||
) | [inline] |
const char* TGStatusBar::GetText | ( | Int_t | partidx = 0 |
) | const |
virtual void TGStatusBar::SetParts | ( | Int_t | npart | ) | [virtual] |
void TGStatusBar::Draw3DCorner | ( | Bool_t | corner | ) | [inline] |
TGCompositeFrame* TGStatusBar::GetBarPart | ( | Int_t | npart | ) | const |
TGDimension TGStatusBar::GetDefaultSize | ( | ) | const [virtual] |
Reimplemented from TGCompositeFrame.
virtual void TGStatusBar::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGHorizontalFrame.
TGStatusBarPart [friend] |
TGStatusBarPart** TGStatusBar::fStatusPart [protected] |
Definition at line 40 of file TGStatusBar.h.
Referenced by ClassImp(), DoRedraw(), DrawBorder(), GetBarPart(), GetDefaultSize(), GetText(), SavePrimitive(), SetParts(), SetText(), and ~TGStatusBar().
Int_t* TGStatusBar::fParts [protected] |
Definition at line 41 of file TGStatusBar.h.
Referenced by ClassImp(), DrawBorder(), SavePrimitive(), SetParts(), and ~TGStatusBar().
Int_t TGStatusBar::fNpart [protected] |
Definition at line 42 of file TGStatusBar.h.
Referenced by ClassImp(), DoRedraw(), DrawBorder(), GetBarPart(), GetDefaultSize(), GetText(), SavePrimitive(), SetParts(), SetText(), and ~TGStatusBar().
Int_t TGStatusBar::fYt [protected] |
Int_t* TGStatusBar::fXt [protected] |
Definition at line 44 of file TGStatusBar.h.
Referenced by ClassImp(), DrawBorder(), SetParts(), and ~TGStatusBar().
Bool_t TGStatusBar::f3DCorner [protected] |
Definition at line 45 of file TGStatusBar.h.
Referenced by ClassImp(), Draw3DCorner(), and DrawBorder().
const TGFont * TGStatusBar::fgDefaultFont [static, protected] |
Definition at line 47 of file TGStatusBar.h.
Referenced by GetDefaultFontStruct(), and GetDefaultGC().
TGGC * TGStatusBar::fgDefaultGC [static, protected] |
TGStatusBarPart** TGStatusBar::fStatusPart [protected] |
Definition at line 40 of file TGStatusBar.h.
Int_t* TGStatusBar::fParts [protected] |
Definition at line 41 of file TGStatusBar.h.
Int_t* TGStatusBar::fXt [protected] |
Definition at line 44 of file TGStatusBar.h.
const TGFont* TGStatusBar::fgDefaultFont [static, protected] |
Definition at line 47 of file TGStatusBar.h.
TGGC* TGStatusBar::fgDefaultGC [static, protected] |
Definition at line 48 of file TGStatusBar.h.