Inheritance diagram for TGShapedToolTip:

Public Member Functions | |
| TGShapedToolTip (const char *picname, Int_t cx=0, Int_t cy=0, Int_t cw=0, Int_t ch=0, Int_t tx=0, Int_t ty=0, Int_t th=0, const char *col="#ffffff") | |
| virtual | ~TGShapedToolTip () |
| virtual void | CloseWindow () |
| void | CreateCanvas (Int_t cx, Int_t cy, Int_t cw, Int_t ch) |
| void | CreateCanvas (Int_t cw, Int_t ch, TGLayoutHints *hints) |
| TH1 * | GetHisto () const |
| const char * | GetText () const |
| void | Refresh () |
| void | SetHisto (TH1 *hist) |
| void | SetText (const char *text) |
| void | SetTextColor (const char *col) |
| void | SetTextAttributes (Int_t tx, Int_t ty, Int_t th, const char *col=0) |
| void | Show (Int_t x, Int_t y, const char *text=0, TH1 *hist=0) |
Protected Member Functions | |
| virtual void | DoRedraw () |
Protected Attributes | |
| Int_t | fTextX |
| Int_t | fTextY |
| Int_t | fTextH |
| TString | fTextCol |
| TRootEmbeddedCanvas * | fEc |
| TH1 * | fHist |
| TString | fText |
Private Member Functions | |
| TGShapedToolTip (const TGShapedToolTip &) | |
| TGShapedToolTip & | operator= (const TGShapedToolTip &) |
Definition at line 73 of file SplitGLView.C.
| TGShapedToolTip::TGShapedToolTip | ( | const TGShapedToolTip & | ) | [private] |
| TGShapedToolTip::TGShapedToolTip | ( | const char * | picname, | |
| Int_t | cx = 0, |
|||
| Int_t | cy = 0, |
|||
| Int_t | cw = 0, |
|||
| Int_t | ch = 0, |
|||
| Int_t | tx = 0, |
|||
| Int_t | ty = 0, |
|||
| Int_t | th = 0, |
|||
| const char * | col = "#ffffff" | |||
| ) |
| TGShapedToolTip::~TGShapedToolTip | ( | ) | [virtual] |
| TGShapedToolTip& TGShapedToolTip::operator= | ( | const TGShapedToolTip & | ) | [private] |
| virtual void TGShapedToolTip::DoRedraw | ( | ) | [inline, protected, virtual] |
| void TGShapedToolTip::CloseWindow | ( | ) | [virtual] |
Definition at line 307 of file SplitGLView.C.
References TGCompositeFrame::AddFrame(), TGShapedFrame::fBgnd, fEc, TGFrame::fHeight, TGFrame::fWidth, TGPicture::GetHeight(), TGPicture::GetWidth(), TGWindow::IsMapped(), kLHintsLeft, kLHintsTop, TGCompositeFrame::MapSubwindows(), Refresh(), and TGFrame::Resize().
| void TGShapedToolTip::CreateCanvas | ( | Int_t | cw, | |
| Int_t | ch, | |||
| TGLayoutHints * | hints | |||
| ) |
Definition at line 325 of file SplitGLView.C.
References TGCompositeFrame::AddFrame(), TGShapedFrame::fBgnd, fEc, TGPicture::GetHeight(), TGPicture::GetWidth(), TGWindow::IsMapped(), TGCompositeFrame::MapSubwindows(), Refresh(), and TGFrame::Resize().
| TH1* TGShapedToolTip::GetHisto | ( | ) | const [inline] |
| const char* TGShapedToolTip::GetText | ( | ) | const [inline] |
| void TGShapedToolTip::Refresh | ( | ) |
Definition at line 284 of file SplitGLView.C.
References TImage::Clone(), TString::Data(), TGObject::fId, TGShapedFrame::fImage, fp, free(), fText, fTextCol, fTextH, fTextX, fTextY, gEnv, TEnv::GetValue(), gVirtualX, nlines, s, size, and str.
Referenced by CreateCanvas(), SetText(), SetTextAttributes(), SetTextColor(), and Show().
| void TGShapedToolTip::SetHisto | ( | TH1 * | hist | ) |
Definition at line 340 of file SplitGLView.C.
References TCanvas::cd(), TCanvas::Clear(), TVirtualPad::Draw(), fEc, fHist, TRootEmbeddedCanvas::GetCanvas(), hist, TPad::SetBorderMode(), TAttFill::SetFillColor(), and TCanvas::Update().
Referenced by Show().
| void TGShapedToolTip::SetText | ( | const char * | text | ) |
Definition at line 362 of file SplitGLView.C.
References fText, TGWindow::IsMapped(), and Refresh().
Referenced by Show().
| void TGShapedToolTip::SetTextColor | ( | const char * | col | ) |
Definition at line 374 of file SplitGLView.C.
References fTextCol, TGWindow::IsMapped(), and Refresh().
Definition at line 384 of file SplitGLView.C.
References fTextCol, fTextH, fTextX, fTextY, TGWindow::IsMapped(), and Refresh().
Definition at line 397 of file SplitGLView.C.
References TCanvas::cd(), TH1::Draw(), fEc, fHist, TRootEmbeddedCanvas::GetCanvas(), hist, TGFrame::MapWindow(), TGFrame::Move(), Refresh(), TPad::SetBorderMode(), TAttFill::SetFillColor(), SetHisto(), SetText(), and TCanvas::Update().
Referenced by SplitGLView::OnMouseIdle().
Int_t TGShapedToolTip::fTextX [protected] |
Int_t TGShapedToolTip::fTextY [protected] |
Int_t TGShapedToolTip::fTextH [protected] |
TString TGShapedToolTip::fTextCol [protected] |
Definition at line 81 of file SplitGLView.C.
Referenced by Refresh(), SetTextAttributes(), and SetTextColor().
TRootEmbeddedCanvas* TGShapedToolTip::fEc [protected] |
Definition at line 83 of file SplitGLView.C.
Referenced by CreateCanvas(), SetHisto(), Show(), and ~TGShapedToolTip().
TH1* TGShapedToolTip::fHist [protected] |
Definition at line 84 of file SplitGLView.C.
Referenced by GetHisto(), SetHisto(), Show(), and ~TGShapedToolTip().
TString TGShapedToolTip::fText [protected] |
1.5.1