#include <TGPack.h>
Inheritance diagram for TGPack:
Definition at line 39 of file TGPack.h.
TGPack::TGPack | ( | const TGPack & | ) | [private] |
TGPack::TGPack | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 1 , |
|||
UInt_t | h = 1 , |
|||
UInt_t | options = 0 , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
Definition at line 30 of file TGPack.cxx.
References kLocalCleanup, and TGCompositeFrame::SetCleanup().
Definition at line 45 of file TGPack.cxx.
References kLocalCleanup, and TGCompositeFrame::SetCleanup().
TGPack::~TGPack | ( | ) | [virtual] |
Definition at line 60 of file TGPack.cxx.
TGPack::TGPack | ( | const TGPack & | ) | [private] |
TGPack::TGPack | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 1 , |
|||
UInt_t | h = 1 , |
|||
UInt_t | options = 0 , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
virtual TGPack::~TGPack | ( | ) | [virtual] |
Definition at line 55 of file TGPack.h.
References fVertical.
Referenced by GetLength(), HandleSplitterResize(), Layout(), and ResizeExistingFrames().
Int_t TGPack::GetLength | ( | ) | const [inline, protected] |
Int_t TGPack::GetAvailableLength | ( | ) | const [protected] |
Definition at line 68 of file TGPack.cxx.
References fNVisible, fSplitterLen, fVertical, TGFrame::GetHeight(), TGFrame::GetWidth(), and len.
Referenced by HandleSplitterResize(), and ResizeExistingFrames().
Definition at line 79 of file TGPack.cxx.
References fVertical, TGFrame::GetHeight(), and TGFrame::GetWidth().
Referenced by HandleSplitterResize(), and ResizeExistingFrames().
void TGPack::FindFrames | ( | TGFrame * | splitter, | |
TGFrameElementPack *& | f0, | |||
TGFrameElementPack *& | f1 | |||
) | const [protected] |
Definition at line 204 of file TGPack.cxx.
References TGFrameElement::fFrame, TGCompositeFrame::fList, TGFrameElement::fState, and kIsVisible.
Referenced by HandleSplitterResize().
void TGPack::CheckSplitterVisibility | ( | ) | [protected] |
Definition at line 101 of file TGPack.cxx.
References TGFrameElement::fFrame, TGCompositeFrame::fList, TGFrameElementPack::fSplitFE, TGFrameElement::fState, TGFrame::MapWindow(), and TGFrame::UnmapWindow().
Referenced by AddFrameInternal(), HideFrame(), RemoveFrameInternal(), and ShowFrame().
void TGPack::ResizeExistingFrames | ( | ) | [protected] |
Definition at line 135 of file TGPack.cxx.
References TGFrameElement::fFrame, TGCompositeFrame::fList, TGFrameElement::fState, TGFrameElementPack::fWeight, fWeightSum, GetAvailableLength(), GetFrameLength(), TCollection::IsEmpty(), l, TMath::Nint(), RefitFramesToPack(), SetFrameLength(), TMath::Sign(), and unit.
Referenced by AddFrameInternal(), EqualizeFrames(), HandleSplitterResize(), HideFrame(), RemoveFrameInternal(), Resize(), and ShowFrame().
void TGPack::RefitFramesToPack | ( | ) | [protected] |
Definition at line 187 of file TGPack.cxx.
References TGFrameElement::fFrame, TGCompositeFrame::fList, fVertical, TGFrame::GetHeight(), TGFrame::GetWidth(), and TGFrame::Resize().
Referenced by ResizeExistingFrames().
void TGPack::AddFrameInternal | ( | TGFrame * | f, | |
TGLayoutHints * | l = 0 , |
|||
Float_t | weight = 1 | |||
) | [protected] |
Definition at line 227 of file TGPack.cxx.
References TList::Add(), CheckSplitterVisibility(), TGCompositeFrame::fgDefaultHints, TGCompositeFrame::fList, TGCompositeFrame::fMustCleanup, fNVisible, TGFrameElementPack::fSplitFE, fSplitterLen, fUseSplitters, fVertical, fWeightSum, TGFrame::GetHeight(), TGFrame::GetWidth(), kDeepCleanup, kTRUE, l, ResizeExistingFrames(), and s.
Referenced by AddFrame(), AddFrameWithWeight(), and SetVertical().
void TGPack::RemoveFrameInternal | ( | TGFrame * | f | ) | [protected] |
Definition at line 291 of file TGPack.cxx.
References CheckSplitterVisibility(), TGObject::fClient, TGFrameElement::fFrame, TGCompositeFrame::FindFrameElement(), fNVisible, TGFrameElementPack::fSplitFE, TGFrameElement::fState, fUseSplitters, TGFrameElementPack::fWeight, fWeightSum, TGClient::GetDefaultRoot(), kIsVisible, TGCompositeFrame::RemoveFrame(), TGFrame::ReparentWindow(), ResizeExistingFrames(), and TGFrame::UnmapWindow().
Referenced by DeleteFrame(), RemoveFrame(), and SetVertical().
void TGPack::AddFrameWithWeight | ( | TGFrame * | f, | |
TGLayoutHints * | l, | |||
Float_t | w | |||
) | [virtual] |
Definition at line 271 of file TGPack.cxx.
References AddFrameInternal(), l, and Layout().
Referenced by TEveWindowPack::NewSlotWithWeight(), pack(), and testPack().
void TGPack::AddFrame | ( | TGFrame * | f, | |
TGLayoutHints * | l = 0 | |||
) | [virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 281 of file TGPack.cxx.
References AddFrameInternal(), l, and Layout().
Referenced by pack(), and testPack().
void TGPack::DeleteFrame | ( | TGFrame * | f | ) | [virtual] |
void TGPack::RemoveFrame | ( | TGFrame * | f | ) | [virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 332 of file TGPack.cxx.
References Layout(), and RemoveFrameInternal().
Referenced by TEveCompositeFrameInPack::Destroy().
void TGPack::ShowFrame | ( | TGFrame * | f | ) | [virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 359 of file TGPack.cxx.
References CheckSplitterVisibility(), TGFrameElement::fFrame, TGCompositeFrame::FindFrameElement(), fNVisible, TGFrameElementPack::fSplitFE, TGFrameElement::fState, fUseSplitters, TGFrameElementPack::fWeight, fWeightSum, Layout(), TGFrame::MapWindow(), and ResizeExistingFrames().
void TGPack::HideFrame | ( | TGFrame * | f | ) | [virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 389 of file TGPack.cxx.
References CheckSplitterVisibility(), TGFrameElement::fFrame, TGCompositeFrame::FindFrameElement(), fNVisible, TGFrameElementPack::fSplitFE, TGFrameElement::fState, fUseSplitters, TGFrameElementPack::fWeight, fWeightSum, Layout(), ResizeExistingFrames(), and TGFrame::UnmapWindow().
Referenced by SetVertical().
Reimplemented from TGFrame.
Definition at line 446 of file TGPack.cxx.
References TGFrame::fHeight, TGFrame::fWidth, Layout(), TGWindow::Resize(), and ResizeExistingFrames().
Referenced by MoveResize().
void TGPack::MapSubwindows | ( | ) | [virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 421 of file TGPack.cxx.
References TGFrameElement::fFrame, TGCompositeFrame::fList, TGCompositeFrame::fMapSubwindows, TGFrameElement::fState, TGFrame::GetFrameElement(), kIsVisible, TGFrame::MapSubwindows(), and TGFrame::MapWindow().
Reimplemented from TGFrame.
Definition at line 463 of file TGPack.cxx.
References TGFrame::Move(), and Resize().
void TGPack::Layout | ( | ) | [virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 472 of file TGPack.cxx.
References TGFrameElement::fFrame, TGCompositeFrame::fList, TGFrameElement::fState, GetFrameLength(), TGFrame::Layout(), and SetFramePosition().
Referenced by AddFrame(), AddFrameWithWeight(), DeleteFrame(), EqualizeFrames(), TEveWindowPack::EqualizeFrames(), HandleSplitterResize(), HideFrame(), TEveWindowPack::NewSlotWithWeight(), RemoveFrame(), Resize(), SetVertical(), and ShowFrame().
void TGPack::Dump | ( | ) | const [virtual] |
Reimplemented from TGFrame.
Definition at line 342 of file TGPack.cxx.
References xmlio::cnt, TGFrameElement::fFrame, TGCompositeFrame::fList, TGFrameElement::fState, and TGWindow::GetName().
void TGPack::EqualizeFrames | ( | ) |
Definition at line 494 of file TGPack.cxx.
References TGCompositeFrame::fList, TGFrameElement::fState, TGFrameElementPack::fWeight, fWeightSum, TCollection::IsEmpty(), Layout(), and ResizeExistingFrames().
Referenced by TEveWindowPack::EqualizeFrames().
void TGPack::HandleSplitterStart | ( | ) |
void TGPack::HandleSplitterResize | ( | Int_t | delta | ) |
Definition at line 524 of file TGPack.cxx.
References fDragOverflow, TGFrameElement::fFrame, FindFrames(), fNVisible, TGFrameElementPack::fWeight, fWeightSum, GetAvailableLength(), GetFrameLength(), gTQSender, Layout(), ResizeExistingFrames(), s, and SetFrameLength().
Bool_t TGPack::GetVertical | ( | ) | const [inline] |
Definition at line 103 of file TGPack.h.
References fVertical.
Referenced by TEveWindowPack::FlipOrientation().
void TGPack::SetVertical | ( | Bool_t | x | ) |
Definition at line 593 of file TGPack.cxx.
References AddFrameInternal(), TList::At(), TGCompositeFrame::fList, fVertical, HideFrame(), TCollection::IsEmpty(), kIsVisible, kTempFrame, Layout(), list, and RemoveFrameInternal().
Referenced by TEveWindowPack::FlipOrientation(), pack(), TEveWindowPack::SetVertical(), and testPack().
Bool_t TGPack::GetUseSplitters | ( | ) | const [inline] |
void TGPack::SetUseSplitters | ( | Bool_t | x | ) | [inline] |
TGPack::ClassDef | ( | TGPack | , | |
0 | ||||
) |
Int_t TGPack::GetLength | ( | ) | const [inline, protected] |
Int_t TGPack::GetAvailableLength | ( | ) | const [protected] |
void TGPack::FindFrames | ( | TGFrame * | splitter, | |
TGFrameElementPack *& | f0, | |||
TGFrameElementPack *& | f1 | |||
) | const [protected] |
void TGPack::CheckSplitterVisibility | ( | ) | [protected] |
void TGPack::ResizeExistingFrames | ( | ) | [protected] |
void TGPack::RefitFramesToPack | ( | ) | [protected] |
void TGPack::AddFrameInternal | ( | TGFrame * | f, | |
TGLayoutHints * | l = 0 , |
|||
Float_t | weight = 1 | |||
) | [protected] |
void TGPack::RemoveFrameInternal | ( | TGFrame * | f | ) | [protected] |
virtual void TGPack::AddFrameWithWeight | ( | TGFrame * | f, | |
TGLayoutHints * | l, | |||
Float_t | w | |||
) | [virtual] |
virtual void TGPack::AddFrame | ( | TGFrame * | f, | |
TGLayoutHints * | l = 0 | |||
) | [virtual] |
Reimplemented from TGCompositeFrame.
virtual void TGPack::DeleteFrame | ( | TGFrame * | f | ) | [virtual] |
virtual void TGPack::RemoveFrame | ( | TGFrame * | f | ) | [virtual] |
Reimplemented from TGCompositeFrame.
virtual void TGPack::ShowFrame | ( | TGFrame * | f | ) | [virtual] |
Reimplemented from TGCompositeFrame.
virtual void TGPack::HideFrame | ( | TGFrame * | f | ) | [virtual] |
Reimplemented from TGCompositeFrame.
virtual void TGPack::MapSubwindows | ( | ) | [virtual] |
Reimplemented from TGCompositeFrame.
Reimplemented from TGFrame.
virtual void TGPack::Layout | ( | ) | [virtual] |
Reimplemented from TGCompositeFrame.
virtual void TGPack::Dump | ( | ) | const [virtual] |
Reimplemented from TGFrame.
void TGPack::EqualizeFrames | ( | ) |
void TGPack::HandleSplitterStart | ( | ) |
void TGPack::HandleSplitterResize | ( | Int_t | delta | ) |
Bool_t TGPack::GetVertical | ( | ) | const [inline] |
void TGPack::SetVertical | ( | Bool_t | x | ) |
Bool_t TGPack::GetUseSplitters | ( | ) | const [inline] |
void TGPack::SetUseSplitters | ( | Bool_t | x | ) | [inline] |
TGPack::ClassDef | ( | TGPack | , | |
0 | ||||
) |
Bool_t TGPack::fVertical [protected] |
Definition at line 46 of file TGPack.h.
Referenced by AddFrameInternal(), GetAvailableLength(), GetFrameLength(), GetVertical(), RefitFramesToPack(), SetFrameLength(), SetFramePosition(), and SetVertical().
Bool_t TGPack::fUseSplitters [protected] |
Definition at line 47 of file TGPack.h.
Referenced by AddFrameInternal(), GetUseSplitters(), HideFrame(), RemoveFrameInternal(), SetUseSplitters(), and ShowFrame().
Int_t TGPack::fSplitterLen [protected] |
Int_t TGPack::fDragOverflow [protected] |
Definition at line 50 of file TGPack.h.
Referenced by HandleSplitterResize(), and HandleSplitterStart().
Float_t TGPack::fWeightSum [protected] |
Definition at line 52 of file TGPack.h.
Referenced by AddFrameInternal(), EqualizeFrames(), HandleSplitterResize(), HideFrame(), RemoveFrameInternal(), ResizeExistingFrames(), and ShowFrame().
Int_t TGPack::fNVisible [protected] |
Definition at line 53 of file TGPack.h.
Referenced by AddFrameInternal(), GetAvailableLength(), HandleSplitterResize(), HideFrame(), RemoveFrameInternal(), and ShowFrame().