#include <TGView.h>
Inheritance diagram for TGView:
Definition at line 49 of file TGView.h.
TGView::TGView | ( | const TGView & | ) | [private] |
TGView::TGView | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 1 , |
|||
UInt_t | h = 1 , |
|||
Int_t | id = -1 , |
|||
UInt_t | xMargin = 0 , |
|||
UInt_t | yMargin = 0 , |
|||
UInt_t | options = kSunkenFrame|kDoubleBorder , |
|||
UInt_t | sboptions = 0 , |
|||
Pixel_t | back = GetWhitePixel() | |||
) |
TGView::~TGView | ( | ) | [virtual] |
Definition at line 145 of file TGView.cxx.
References fCanvas, fHsb, fVsb, and TGCompositeFrame::MustCleanup().
TGView::TGView | ( | const TGView & | ) | [private] |
TGView::TGView | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 1 , |
|||
UInt_t | h = 1 , |
|||
Int_t | id = -1 , |
|||
UInt_t | xMargin = 0 , |
|||
UInt_t | yMargin = 0 , |
|||
UInt_t | options = kSunkenFrame|kDoubleBorder , |
|||
UInt_t | sboptions = 0 , |
|||
Pixel_t | back = GetWhitePixel() | |||
) |
virtual TGView::~TGView | ( | ) | [virtual] |
void TGView::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
Definition at line 266 of file TGView.cxx.
References DrawBorder(), DrawRegion(), TGRectangle::Empty(), fExposedRegion, TGRectangle::fH, TGRectangle::fW, TGRectangle::fX, TGRectangle::fY, and TGRectangle::IsEmpty().
Definition at line 200 of file TGView.cxx.
References fCanvas, TGObject::fClient, fExposedRegion, TGRectangle::fH, TGRectangle::fW, TGRectangle::fX, TGRectangle::fY, TGFrame::GetHeight(), TGFrame::GetWidth(), TGRectangle::IsEmpty(), TGRectangle::Merge(), and TGClient::NeedRedraw().
Referenced by TGTextView::AddLine(), TGTextView::AddText(), TGTextEdit::BreakLine(), TGTextEdit::DelChar(), TGTextEdit::Delete(), TGTextEdit::HandleDoubleClick(), TGTextEdit::InsChar(), TGTextEdit::Replace(), TGTextView::Search(), TGTextEdit::Search(), TGTextView::SelectAll(), TGTextView::UnMark(), and TGTextView::Update().
virtual Bool_t TGView::ItemLayout | ( | ) | [inline, protected, virtual] |
TGViewFrame* TGView::GetCanvas | ( | ) | const [inline] |
void TGView::Clear | ( | Option_t * | = "" |
) | [virtual] |
Reimplemented from TObject.
Definition at line 157 of file TGView.cxx.
References fCanvas, fMousePos, fScrolling, fVirtualSize, fVisible, TGLongPosition::fX, TGLongPosition::fY, TGFrame::GetHeight(), TGObject::GetId(), TGFrame::GetWidth(), gVirtualX, Layout(), and UpdateBackgroundStart().
Referenced by ClassImp(), TGTextView::Clear(), and TGHtml::Clear().
Definition at line 174 of file TGView.cxx.
References fScrollVal, fVisible, TGLongPosition::fX, TGLongPosition::fY, kHorizontal, kVertical, and ScrollCanvas().
Referenced by TGTextView::HLayout(), ProcessMessage(), TGTextView::SetHsbPosition(), TGTextView::SetVsbPosition(), and TGTextView::VLayout().
Definition at line 459 of file TGView.cxx.
References DrawRegion(), fCanvas, fVisible, fWhiteGC, TGFrame::fX, TGLongPosition::fX, TGFrame::fY, TGLongPosition::fY, TGFrame::GetHeight(), TGObject::GetId(), TGFrame::GetWidth(), gVirtualX, kVertical, points, and UpdateBackgroundStart().
Referenced by TGTextEdit::ScrollCanvas(), and SetVisibleStart().
Reimplemented from TGCompositeFrame.
Definition at line 312 of file TGView.cxx.
References fScrollVal, TGLongPosition::fX, TGLongPosition::fY, GET_MSG(), GET_SUBMSG(), kC_HSCROLL, kC_VSCROLL, kHorizontal, kSB_SLIDERPOS, kSB_SLIDERTRACK, kTRUE, kVertical, and SetVisibleStart().
Referenced by TGTextEdit::ProcessMessage(), and TGHtml::ProcessMessage().
void TGView::DrawBorder | ( | ) | [virtual] |
Reimplemented from TGFrame.
Definition at line 424 of file TGView.cxx.
References TGFrame::DrawBorder(), TGFrame::fHeight, TGObject::fId, TGFrame::fOptions, TGFrame::fWidth, TGFrame::GetBckgndGC(), TGFrame::GetBlackGC(), TGFrame::GetHilightGC(), TGFrame::GetShadowGC(), gVirtualX, kDoubleBorder, kRaisedFrame, and kSunkenFrame.
Referenced by DoRedraw().
void TGView::Layout | ( | ) | [virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 342 of file TGView.cxx.
References TGFrame::fBorderWidth, fCanvas, TGDimension::fHeight, TGFrame::fHeight, fHsb, fScrollVal, fVirtualSize, fVsb, TGFrame::fWidth, TGDimension::fWidth, TGLongPosition::fX, fXMargin, TGLongPosition::fY, fYMargin, TGFrame::GetDefaultHeight(), TGFrame::GetDefaultWidth(), TGFrame::GetHeight(), TGFrame::GetWidth(), ItemLayout(), kFALSE, kTRUE, TGFrame::MapRaised(), TGFrame::MapWindow(), TGFrame::MoveResize(), TGScrollBar::MoveResize(), TGFrame::SetHeight(), TGVScrollBar::SetPosition(), TGHScrollBar::SetPosition(), TGHScrollBar::SetRange(), TGVScrollBar::SetRange(), TGFrame::SetWidth(), and TGFrame::UnmapWindow().
Referenced by TGRootIDE::Build(), Clear(), TGRootIDE::Selected(), TGHtmlBrowser::Selected(), update_html_summary(), CalendarWindow::UpdateHTML(), and SplitGLView::UpdateSummary().
virtual void TGView::SetLayoutManager | ( | TGLayoutManager * | ) | [inline, virtual] |
Definition at line 192 of file TGView.cxx.
Referenced by ChangeBackground(), DoRedraw(), TGHtml::DrawRegion(), HandleExpose(), and ScrollCanvas().
void TGView::ScrollToPosition | ( | TGLongPosition | newPos | ) | [virtual] |
Definition at line 448 of file TGView.cxx.
References fHsb, fScrollVal, fVsb, TGLongPosition::fX, TGLongPosition::fY, TGScrollBar::GetPosition(), TGVScrollBar::SetPosition(), and TGHScrollBar::SetPosition().
Referenced by TGHtmlBrowser::CheckAnchors(), TGHtml::GotoAnchor(), TGHtml::HandleButton(), ScrollDown(), ScrollLeft(), ScrollRight(), and ScrollUp().
void TGView::ScrollUp | ( | Int_t | pixels | ) | [inline] |
Definition at line 104 of file TGView.h.
References fVisible, TGLongPosition::fX, TGLongPosition::fY, and ScrollToPosition().
Referenced by HandleButton().
void TGView::ScrollDown | ( | Int_t | pixels | ) | [inline] |
Definition at line 106 of file TGView.h.
References fVisible, TGLongPosition::fX, TGLongPosition::fY, and ScrollToPosition().
Referenced by HandleButton().
void TGView::ScrollLeft | ( | Int_t | pixels | ) | [inline] |
Definition at line 108 of file TGView.h.
References fVisible, TGLongPosition::fX, TGLongPosition::fY, and ScrollToPosition().
void TGView::ScrollRight | ( | Int_t | pixels | ) | [inline] |
Definition at line 110 of file TGView.h.
References fVisible, TGLongPosition::fX, TGLongPosition::fY, and ScrollToPosition().
virtual TGDimension TGView::GetDefaultSize | ( | ) | const [inline, virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 113 of file TGView.h.
References TGFrame::fHeight, and TGFrame::fWidth.
TGDimension TGView::GetVirtualSize | ( | ) | const [inline] |
TGLongPosition TGView::GetScrollValue | ( | ) | const [inline] |
TGLongPosition TGView::GetScrollPosition | ( | ) | const [inline] |
TGLongPosition TGView::ToVirtual | ( | TGLongPosition | coord | ) | const [inline] |
TGLongPosition TGView::ToPhysical | ( | TGLongPosition | coord | ) | const [inline] |
Reimplemented from TGCompositeFrame.
Definition at line 233 of file TGView.cxx.
References fCanvas, Event_t::fCode, fScrollVal, Event_t::fState, Event_t::fType, TGLongPosition::fY, TGFrame::GetHeight(), kButton4, kButton5, kButtonPress, kFALSE, kKeyControlMask, kKeyShiftMask, kTRUE, TMath::Max(), ScrollDown(), and ScrollUp().
Referenced by TGViewFrame::HandleButton(), and TGHtml::HandleButton().
Reimplemented from TGWindow.
Definition at line 280 of file TGView.cxx.
References DrawRegion(), fCanvas, TGObject::fClient, fExposedRegion, TGRectangle::fH, Event_t::fHeight, TGRectangle::fW, Event_t::fWidth, Event_t::fWindow, TGRectangle::fX, Event_t::fX, TGRectangle::fY, Event_t::fY, TGObject::GetId(), TGWindow::HandleExpose(), TGRectangle::IsEmpty(), kTRUE, TGRectangle::Merge(), and TGClient::NeedRedraw().
Referenced by TGViewFrame::HandleExpose().
void TGView::ChangeBackground | ( | Pixel_t | ) | [virtual] |
Reimplemented from TGFrame.
Definition at line 559 of file TGView.cxx.
References DrawRegion(), fCanvas, fWhiteGC, TGFrame::GetHeight(), TGFrame::GetWidth(), TGGC::SetBackground(), TGFrame::SetBackgroundColor(), and TGGC::SetForeground().
void TGView::SetBackgroundColor | ( | Pixel_t | ) | [virtual] |
Reimplemented from TGFrame.
Definition at line 570 of file TGView.cxx.
References fCanvas, fWhiteGC, TGGC::SetBackground(), TGFrame::SetBackgroundColor(), and TGGC::SetForeground().
Referenced by TGHtml::AddStyle(), TRootBrowserLite::BrowseTextFile(), TGHtml::HClear(), and TGHtml::TGHtml().
void TGView::SetBackgroundPixmap | ( | Pixmap_t | p | ) | [virtual] |
Reimplemented from TGWindow.
Definition at line 580 of file TGView.cxx.
References fCanvas, and TGWindow::SetBackgroundPixmap().
Referenced by TGHtml::AddStyle(), TGHtml::HClear(), and TGHtml::TGHtml().
void TGView::UpdateBackgroundStart | ( | ) | [virtual] |
Definition at line 224 of file TGView.cxx.
References fVisible, fWhiteGC, TGLongPosition::fX, TGLongPosition::fY, TGGC::SetTileStipXOrigin(), and TGGC::SetTileStipYOrigin().
Referenced by Clear(), and ScrollCanvas().
const TGGC& TGView::GetViewWhiteGC | ( | ) | [inline] |
virtual void TGView::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
virtual Bool_t TGView::ItemLayout | ( | ) | [inline, protected, virtual] |
TGViewFrame* TGView::GetCanvas | ( | ) | const [inline] |
Reimplemented from TGCompositeFrame.
virtual void TGView::DrawBorder | ( | ) | [virtual] |
Reimplemented from TGFrame.
virtual void TGView::Layout | ( | ) | [virtual] |
Reimplemented from TGCompositeFrame.
virtual void TGView::SetLayoutManager | ( | TGLayoutManager * | ) | [inline, virtual] |
virtual void TGView::ScrollToPosition | ( | TGLongPosition | newPos | ) | [virtual] |
void TGView::ScrollUp | ( | Int_t | pixels | ) | [inline] |
Definition at line 104 of file TGView.h.
References fVisible, TGLongPosition::fX, TGLongPosition::fY, and ScrollToPosition().
void TGView::ScrollDown | ( | Int_t | pixels | ) | [inline] |
Definition at line 106 of file TGView.h.
References fVisible, TGLongPosition::fX, TGLongPosition::fY, and ScrollToPosition().
void TGView::ScrollLeft | ( | Int_t | pixels | ) | [inline] |
Definition at line 108 of file TGView.h.
References fVisible, TGLongPosition::fX, TGLongPosition::fY, and ScrollToPosition().
void TGView::ScrollRight | ( | Int_t | pixels | ) | [inline] |
Definition at line 110 of file TGView.h.
References fVisible, TGLongPosition::fX, TGLongPosition::fY, and ScrollToPosition().
virtual TGDimension TGView::GetDefaultSize | ( | ) | const [inline, virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 113 of file TGView.h.
References TGFrame::fHeight, and TGFrame::fWidth.
TGDimension TGView::GetVirtualSize | ( | ) | const [inline] |
TGLongPosition TGView::GetScrollValue | ( | ) | const [inline] |
TGLongPosition TGView::GetScrollPosition | ( | ) | const [inline] |
TGLongPosition TGView::ToVirtual | ( | TGLongPosition | coord | ) | const [inline] |
TGLongPosition TGView::ToPhysical | ( | TGLongPosition | coord | ) | const [inline] |
Reimplemented from TGCompositeFrame.
virtual void TGView::UpdateBackgroundStart | ( | ) | [virtual] |
const TGGC& TGView::GetViewWhiteGC | ( | ) | [inline] |
TGViewFrame [friend] |
TGLongPosition TGView::fVisible [protected] |
Definition at line 58 of file TGView.h.
Referenced by TGTextEdit::AdjustPos(), TGTextView::AdjustWidth(), TGTextEdit::BreakLine(), Clear(), TGHtml::DecodeBaseIndex(), TGTextEdit::DelChar(), TGTextEdit::Delete(), TGTextEdit::DrawCursor(), TGTextView::DrawRegion(), TGHtml::DrawTableBgnd(), TGTextEdit::End(), TGHtml::GetInputElement(), GetScrollPosition(), TGTextEdit::Goto(), TGHtml::GotoAnchor(), TGTextEdit::HandleButton(), TGTextView::HandleButton(), TGHtml::HandleButton(), TGTextView::HandleCrossing(), TGTextEdit::HandleDoubleClick(), TGTextEdit::HandleKey(), TGTextView::HandleMotion(), TGTextEdit::HandleMotion(), TGHtml::HandleMotion(), TGTextEdit::HandleSelection(), TGTextView::HandleTimer(), TGHtml::HClear(), TGTextEdit::InsChar(), TGHtml::LayoutDoc(), TGTextEdit::LineDown(), TGTextEdit::LineUp(), TGHtml::MapControls(), TGTextEdit::NextChar(), TGTextEdit::PrevChar(), TGHtml::Redraw(), TGHtml::RedrawBlock(), TGHtml::RedrawText(), TGTextEdit::Replace(), TGTextView::ReturnLongestLineWidth(), TGTextEdit::ScreenDown(), TGTextEdit::ScreenUp(), ScrollCanvas(), ScrollDown(), ScrollLeft(), ScrollRight(), ScrollUp(), TGTextView::Search(), TGTextEdit::Search(), SetVisibleStart(), ToPhysical(), TGTextView::ToScrXCoord(), TGTextView::ToScrYCoord(), ToVirtual(), and UpdateBackgroundStart().
TGLongPosition TGView::fMousePos [protected] |
Definition at line 59 of file TGView.h.
Referenced by Clear(), TGTextView::HandleButton(), TGTextView::HandleCrossing(), TGTextView::HandleMotion(), and TGTextView::HandleTimer().
TGLongPosition TGView::fScrollVal [protected] |
Definition at line 60 of file TGView.h.
Referenced by TGTextEdit::BreakLine(), TGTextEdit::DelChar(), TGTextEdit::Delete(), TGTextView::DrawRegion(), TGTextEdit::End(), GetScrollValue(), TGTextEdit::Goto(), HandleButton(), TGTextView::HandleButton(), TGHtml::HandleButton(), TGTextEdit::HandleKey(), TGTextEdit::HandleSelection(), TGTextView::HandleTimer(), TGTextView::HLayout(), TGTextEdit::InsChar(), Layout(), TGTextEdit::LineDown(), TGTextEdit::LineUp(), TGTextEdit::NextChar(), TGTextEdit::PrevChar(), ProcessMessage(), TGTextEdit::Replace(), TGTextView::ReturnHeighestColHeight(), TGTextEdit::ReturnLongestLineWidth(), TGTextEdit::ScreenDown(), TGTextEdit::ScreenUp(), ScrollToPosition(), TGTextView::Search(), TGTextEdit::Search(), TGTextView::SetHsbPosition(), TGTextView::SetSBRange(), SetVisibleStart(), TGTextView::SetVsbPosition(), TGTextView::ShowBottom(), and TGTextView::VLayout().
TGDimension TGView::fVirtualSize [protected] |
Definition at line 61 of file TGView.h.
Referenced by Clear(), TGHtml::ComputeVirtualSize(), GetVirtualSize(), and Layout().
TGRectangle TGView::fExposedRegion [protected] |
Definition at line 62 of file TGView.h.
Referenced by DoRedraw(), HandleExpose(), TGTextEdit::HandleSelection(), TGTextView::Update(), and UpdateRegion().
Int_t TGView::fScrolling [protected] |
Definition at line 64 of file TGView.h.
Referenced by Clear(), TGTextView::HandleButton(), TGTextView::HandleCrossing(), TGTextView::HandleMotion(), TGTextEdit::HandleMotion(), and TGTextView::HandleTimer().
Atom_t TGView::fClipboard [protected] |
Definition at line 65 of file TGView.h.
Referenced by TGTextEdit::HandleButton(), and TGTextEdit::Paste().
UInt_t TGView::fXMargin [protected] |
Definition at line 66 of file TGView.h.
Referenced by TGTextView::AdjustWidth(), TGHtml::HClear(), TGTextView::HLayout(), Layout(), TGHtml::TGHtml(), and TGTextView::VLayout().
UInt_t TGView::fYMargin [protected] |
Definition at line 67 of file TGView.h.
Referenced by TGHtml::HClear(), TGTextView::HLayout(), Layout(), TGHtml::LayoutDoc(), TGHtml::TGHtml(), and TGTextView::VLayout().
TGViewFrame* TGView::fCanvas [protected] |
Definition at line 68 of file TGView.h.
Referenced by TGTextView::AddLine(), TGHtml::AddStyle(), TGTextView::AddText(), TGTextEdit::AdjustPos(), TGTextEdit::BreakLine(), ChangeBackground(), Clear(), TGTextView::Clear(), TGHtml::ControlSize(), TGTextEdit::DelChar(), TGTextEdit::Delete(), TGTextEdit::DrawCursor(), TGTextView::DrawRegion(), TGHtml::DrawRegion(), TGTextEdit::End(), GetCanvas(), TGHtml::GetInputElement(), TGHtml::GetPctWidth(), TGTextEdit::Goto(), TGTextEdit::HandleButton(), HandleButton(), TGTextView::HandleButton(), TGHtml::HandleButton(), TGTextView::HandleCrossing(), TGTextEdit::HandleCrossing(), TGTextEdit::HandleDoubleClick(), TGTextView::HandleDoubleClick(), HandleExpose(), TGTextEdit::HandleFocusChange(), TGTextView::HandleMotion(), TGTextEdit::HandleMotion(), TGTextEdit::HandleSelection(), TGTextView::HandleTimer(), TGTextView::HLayout(), TGTextEdit::Init(), TGTextEdit::InsChar(), Layout(), TGHtml::LayoutDoc(), TGTextEdit::LineDown(), TGTextEdit::LineUp(), TGHtml::MapControls(), TGTextView::Mark(), TGTextEdit::NextChar(), TGTextEdit::PrevChar(), TGHtml::Redraw(), TGHtml::RedrawArea(), TGHtml::RedrawText(), TGTextEdit::Replace(), TGTextEdit::SavePrimitive(), TGHtml::SavePrimitive(), TGTextView::SavePrimitive(), TGTextEdit::ScreenDown(), TGTextEdit::ScreenUp(), ScrollCanvas(), TGTextView::Search(), TGTextEdit::Search(), TGTextView::SelectAll(), TGTextView::SetBackground(), SetBackgroundColor(), SetBackgroundPixmap(), TGTextView::SetSBRange(), TGTextView::ShowBottom(), TGTextView::UnMark(), TGTextView::Update(), UpdateRegion(), TGTextView::VLayout(), and ~TGView().
TGHScrollBar* TGView::fHsb [protected] |
Definition at line 69 of file TGView.h.
Referenced by TGTextView::HLayout(), TGTextEdit::InsChar(), Layout(), ScrollToPosition(), TGTextView::SetHsbPosition(), TGTextView::SetSBRange(), TGHtml::TGHtml(), TGTextView::VLayout(), and ~TGView().
TGVScrollBar* TGView::fVsb [protected] |
Definition at line 70 of file TGView.h.
Referenced by TGTextView::AdjustWidth(), TGTextEdit::HandleKey(), TGTextView::HLayout(), Layout(), ScrollToPosition(), TGTextView::SetSBRange(), TGTextView::SetVsbPosition(), TGHtml::TGHtml(), TGTextView::VLayout(), and ~TGView().
TGGC TGView::fWhiteGC [protected] |
Definition at line 72 of file TGView.h.
Referenced by TGHtml::AddStyle(), ChangeBackground(), GetViewWhiteGC(), TGHtml::Redraw(), ScrollCanvas(), TGTextView::SetBackground(), SetBackgroundColor(), and UpdateBackgroundStart().
TGViewFrame* TGView::fCanvas [protected] |
TGHScrollBar* TGView::fHsb [protected] |
TGVScrollBar* TGView::fVsb [protected] |