#include <TGCanvas.h>
Inheritance diagram for TGViewPort:
Public Member Functions | |
TGViewPort (const TGWindow *p=0, UInt_t w=1, UInt_t h=1, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()) | |
TGFrame * | GetContainer () const |
void | SetContainer (TGFrame *f) |
virtual void | DrawBorder () |
virtual void | Layout () |
virtual TGDimension | GetDefaultSize () const |
virtual void | SetHPos (Int_t xpos) |
virtual void | SetVPos (Int_t ypos) |
void | SetPos (Int_t xpos, Int_t ypos) |
Int_t | GetHPos () const |
Int_t | GetVPos () const |
virtual Bool_t | HandleConfigureNotify (Event_t *event) |
TGViewPort (const TGWindow *p=0, UInt_t w=1, UInt_t h=1, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()) | |
TGFrame * | GetContainer () const |
void | SetContainer (TGFrame *f) |
virtual void | DrawBorder () |
virtual void | Layout () |
virtual TGDimension | GetDefaultSize () const |
virtual void | SetHPos (Int_t xpos) |
virtual void | SetVPos (Int_t ypos) |
void | SetPos (Int_t xpos, Int_t ypos) |
Int_t | GetHPos () const |
Int_t | GetVPos () const |
virtual Bool_t | HandleConfigureNotify (Event_t *event) |
Protected Attributes | |
Int_t | fX0 |
Int_t | fY0 |
TGFrame * | fContainer |
TGFrame * | fContainer |
Private Member Functions | |
TGViewPort (const TGViewPort &) | |
TGViewPort & | operator= (const TGViewPort &) |
TGViewPort (const TGViewPort &) | |
TGViewPort & | operator= (const TGViewPort &) |
Definition at line 170 of file TGCanvas.h.
TGViewPort::TGViewPort | ( | const TGViewPort & | ) | [private] |
TGViewPort::TGViewPort | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 1 , |
|||
UInt_t | h = 1 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
TGViewPort::TGViewPort | ( | const TGViewPort & | ) | [private] |
TGViewPort::TGViewPort | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 1 , |
|||
UInt_t | h = 1 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
TGViewPort& TGViewPort::operator= | ( | const TGViewPort & | ) | [private] |
TGFrame* TGViewPort::GetContainer | ( | ) | const [inline] |
Definition at line 185 of file TGCanvas.h.
References fContainer.
Referenced by TGCanvas::AddFrame(), TGListBox::GetContainer(), TGCanvas::GetContainer(), TGListBox::GetSelected(), TGListView::Layout(), TGListBox::Layout(), TGCanvas::Layout(), TGListView::LayoutHeader(), TGCanvas::MapSubwindows(), TGListView::ResizeColumns(), XSElementList::SelectZ(), TGListView::SetDefaultColumnWidth(), TGCanvas::SetHsbPosition(), TGListView::SetViewMode(), and TGCanvas::SetVsbPosition().
void TGViewPort::SetContainer | ( | TGFrame * | f | ) |
Definition at line 143 of file TGCanvas.cxx.
References TGCompositeFrame::AddFrame(), xmlio::Class, fContainer, TGWindow::fParent, TGWindow::GetEditDisabled(), TObject::InheritsFrom(), TGWindow::kEditDisableGrab, TGCompositeFrame::RemoveFrame(), and TGWindow::SetEditDisabled().
Referenced by TGCanvas::SetContainer(), and TGListBox::SetContainer().
virtual void TGViewPort::DrawBorder | ( | ) | [inline, virtual] |
virtual void TGViewPort::Layout | ( | ) | [inline, virtual] |
virtual TGDimension TGViewPort::GetDefaultSize | ( | ) | const [inline, virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 190 of file TGCanvas.h.
References TGFrame::fHeight, and TGFrame::fWidth.
void TGViewPort::SetHPos | ( | Int_t | xpos | ) | [virtual] |
Definition at line 170 of file TGCanvas.cxx.
References TMath::Abs(), xmlio::Class, fContainer, TGFrame::fHeight, TGCompositeFrame::fMapSubwindows, TGFrame::fWidth, fX0, fY0, TGObject::GetId(), TGFrame::GetWhiteGC(), gVirtualX, TObject::InheritsFrom(), and TGFrame::Move().
Referenced by TGMdiMainFrame::ArrangeFrames(), TGCanvas::ProcessMessage(), TGContainer::SetHsbPosition(), TGCanvas::SetHsbPosition(), and SetPos().
void TGViewPort::SetVPos | ( | Int_t | ypos | ) | [virtual] |
Definition at line 214 of file TGCanvas.cxx.
References TMath::Abs(), xmlio::Class, fContainer, TGFrame::fHeight, TGCompositeFrame::fMapSubwindows, TGFrame::fWidth, fX0, fY0, TGObject::GetId(), TGFrame::GetWhiteGC(), gVirtualX, TObject::InheritsFrom(), and TGFrame::Move().
Referenced by TGMdiMainFrame::ArrangeFrames(), TGCanvas::ProcessMessage(), TGListBox::ProcessMessage(), SetPos(), TGContainer::SetVsbPosition(), and TGCanvas::SetVsbPosition().
Definition at line 259 of file TGCanvas.cxx.
References fContainer, fX0, fY0, SetHPos(), and SetVPos().
Referenced by TGContainer::SetPagePosition().
Int_t TGViewPort::GetHPos | ( | ) | const [inline] |
Definition at line 196 of file TGCanvas.h.
References fX0.
Referenced by TGMdiContainer::GetDefaultSize(), and TGContainer::GetPagePosition().
Int_t TGViewPort::GetVPos | ( | ) | const [inline] |
Definition at line 197 of file TGCanvas.h.
References fY0.
Referenced by TGMdiContainer::GetDefaultSize(), and TGContainer::GetPagePosition().
Reimplemented from TGFrame.
Definition at line 270 of file TGCanvas.cxx.
References xmlio::Class, TGContainer::DrawRegion(), fContainer, Event_t::fHeight, Event_t::fWidth, Event_t::fX, Event_t::fY, TGFrame::HandleConfigureNotify(), TObject::InheritsFrom(), kFALSE, and kTRUE.
TGViewPort& TGViewPort::operator= | ( | const TGViewPort & | ) | [private] |
TGFrame* TGViewPort::GetContainer | ( | ) | const [inline] |
void TGViewPort::SetContainer | ( | TGFrame * | f | ) |
virtual void TGViewPort::DrawBorder | ( | ) | [inline, virtual] |
virtual void TGViewPort::Layout | ( | ) | [inline, virtual] |
virtual TGDimension TGViewPort::GetDefaultSize | ( | ) | const [inline, virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 190 of file TGCanvas.h.
References TGFrame::fHeight, and TGFrame::fWidth.
virtual void TGViewPort::SetHPos | ( | Int_t | xpos | ) | [virtual] |
virtual void TGViewPort::SetVPos | ( | Int_t | ypos | ) | [virtual] |
Int_t TGViewPort::GetHPos | ( | ) | const [inline] |
Int_t TGViewPort::GetVPos | ( | ) | const [inline] |
Reimplemented from TGFrame.
Int_t TGViewPort::fX0 [protected] |
Int_t TGViewPort::fY0 [protected] |
TGFrame* TGViewPort::fContainer [protected] |
Definition at line 174 of file TGCanvas.h.
Referenced by GetContainer(), HandleConfigureNotify(), SetContainer(), SetHPos(), SetPos(), and SetVPos().
TGFrame* TGViewPort::fContainer [protected] |
Definition at line 174 of file TGCanvas.h.