#include <TGProgressBar.h>
Inheritance diagram for TGHProgressBar:

Public Member Functions | |
| TGHProgressBar (const TGWindow *p=0, UInt_t w=4, UInt_t h=kProgressBarTextWidth, Pixel_t back=GetWhitePixel(), Pixel_t barcolor=GetDefaultSelectedBackground(), GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t options=kDoubleBorder|kSunkenFrame) | |
| TGHProgressBar (const TGWindow *p, EBarType type, UInt_t w) | |
| virtual | ~TGHProgressBar () |
| virtual TGDimension | GetDefaultSize () const |
| void | ShowPosition (Bool_t set=kTRUE, Bool_t percent=kTRUE, const char *format="%.2f") |
| virtual void | SavePrimitive (ostream &out, Option_t *option="") |
| TGHProgressBar (const TGWindow *p=0, UInt_t w=4, UInt_t h=kProgressBarTextWidth, Pixel_t back=GetWhitePixel(), Pixel_t barcolor=GetDefaultSelectedBackground(), GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t options=kDoubleBorder|kSunkenFrame) | |
| TGHProgressBar (const TGWindow *p, EBarType type, UInt_t w) | |
| virtual | ~TGHProgressBar () |
| virtual TGDimension | GetDefaultSize () const |
| void | ShowPosition (Bool_t set=kTRUE, Bool_t percent=kTRUE, const char *format="%.2f") |
| virtual void | SavePrimitive (ostream &out, Option_t *option="") |
Protected Member Functions | |
| virtual void | DoRedraw () |
| virtual void | DoRedraw () |
Definition at line 108 of file TGProgressBar.h.
| TGHProgressBar::TGHProgressBar | ( | const TGWindow * | p = 0, |
|
| UInt_t | w = 4, |
|||
| UInt_t | h = kProgressBarTextWidth, |
|||
| Pixel_t | back = GetWhitePixel(), |
|||
| Pixel_t | barcolor = GetDefaultSelectedBackground(), |
|||
| GContext_t | norm = GetDefaultGC()(), |
|||
| FontStruct_t | font = GetDefaultFontStruct(), |
|||
| UInt_t | options = kDoubleBorder|kSunkenFrame | |||
| ) |
Definition at line 221 of file TGProgressBar.cxx.
References TGProgressBar::fBarWidth, TGWindow::fEditDisabled, and TGWindow::kEditDisableHeight.
Definition at line 233 of file TGProgressBar.cxx.
References TGProgressBar::fBarType, TGProgressBar::fBarWidth, TGWindow::fEditDisabled, TGWindow::kEditDisableHeight, TGProgressBar::kProgressBarStandardWidth, TGProgressBar::kProgressBarTextWidth, and TGProgressBar::kStandard.
| virtual TGHProgressBar::~TGHProgressBar | ( | ) | [inline, virtual] |
Definition at line 122 of file TGProgressBar.h.
| TGHProgressBar::TGHProgressBar | ( | const TGWindow * | p = 0, |
|
| UInt_t | w = 4, |
|||
| UInt_t | h = kProgressBarTextWidth, |
|||
| Pixel_t | back = GetWhitePixel(), |
|||
| Pixel_t | barcolor = GetDefaultSelectedBackground(), |
|||
| GContext_t | norm = GetDefaultGC()(), |
|||
| FontStruct_t | font = GetDefaultFontStruct(), |
|||
| UInt_t | options = kDoubleBorder|kSunkenFrame | |||
| ) |
| virtual TGHProgressBar::~TGHProgressBar | ( | ) | [inline, virtual] |
Definition at line 122 of file TGProgressBar.h.
| void TGHProgressBar::DoRedraw | ( | ) | [protected, virtual] |
Implements TGProgressBar.
Definition at line 263 of file TGProgressBar.cxx.
References buf, TString::Data(), TGFrame::DoRedraw(), TGProgressBar::fBarColorGC, TGProgressBar::fBarWidth, TGFrame::fBorderWidth, TGProgressBar::fDrawBar, TGProgressBar::fFillType, TGProgressBar::fFontStruct, TGProgressBar::fFormat, TGFrame::fHeight, TGObject::fId, TGProgressBar::fMax, TGProgressBar::fMin, TGProgressBar::fNormGC, TString::Format(), TGProgressBar::fPercent, TGProgressBar::fPos, TGProgressBar::fPosPix, TGProgressBar::fShowPos, TGFrame::fWidth, gVirtualX, TGProgressBar::kBlockSize, TGProgressBar::kBlockSpace, kFALSE, TGProgressBar::kSolidFill, x, and y.
| virtual TGDimension TGHProgressBar::GetDefaultSize | ( | ) | const [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 124 of file TGProgressBar.h.
References TGProgressBar::fBarWidth, and TGFrame::fWidth.
| void TGHProgressBar::ShowPosition | ( | Bool_t | set = kTRUE, |
|
| Bool_t | percent = kTRUE, |
|||
| const char * | format = "%.2f" | |||
| ) |
Definition at line 251 of file TGProgressBar.cxx.
References TGObject::fClient, TGProgressBar::fFormat, TGProgressBar::fPercent, TGProgressBar::fShowPos, and TGClient::NeedRedraw().
Referenced by TSessionViewer::Build(), TSessionQueryFrame::Build(), TTreeViewer::BuildInterface(), TTreeViewer::ExecuteDraw(), TTreeViewer::HandleTimer(), ProgressbarWindow::ProgressbarWindow(), and TestProgress::TestProgress().
| void TGHProgressBar::SavePrimitive | ( | ostream & | out, | |
| Option_t * | option = "" | |||
| ) | [virtual] |
Reimplemented from TGProgressBar.
Definition at line 466 of file TGProgressBar.cxx.
References TGProgressBar::fBarType, TGProgressBar::fBarWidth, TGWindow::fParent, TGProgressBar::GetFillType(), TGProgressBar::GetFormat(), TGWindow::GetName(), TGProgressBar::GetShowPos(), TGFrame::GetWidth(), TGProgressBar::kBlockFill, TGProgressBar::kFancy, TGProgressBar::kProgressBarStandardWidth, TGProgressBar::kProgressBarTextWidth, TGProgressBar::kStandard, TGProgressBar::SavePrimitive(), and TGProgressBar::UsePercent().
| virtual void TGHProgressBar::DoRedraw | ( | ) | [protected, virtual] |
Implements TGProgressBar.
| virtual TGDimension TGHProgressBar::GetDefaultSize | ( | ) | const [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 124 of file TGProgressBar.h.
References TGProgressBar::fBarWidth, and TGFrame::fWidth.
| void TGHProgressBar::ShowPosition | ( | Bool_t | set = kTRUE, |
|
| Bool_t | percent = kTRUE, |
|||
| const char * | format = "%.2f" | |||
| ) |
| virtual void TGHProgressBar::SavePrimitive | ( | ostream & | out, | |
| Option_t * | option = "" | |||
| ) | [virtual] |
Reimplemented from TGProgressBar.
1.5.1