#include <TGScrollBar.h>
Inheritance diagram for TGScrollBar:
Definition at line 78 of file TGScrollBar.h.
TGScrollBar::TGScrollBar | ( | const TGScrollBar & | ) | [private] |
TGScrollBar::TGScrollBar | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 1 , |
|||
UInt_t | h = 1 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
Definition at line 216 of file TGScrollBar.cxx.
References fAccelerated, TGWidget::fMsgWindow, GetBckgndPixmap(), kFALSE, p, TGWindow::SetBackgroundPixmap(), and TGWindow::SetWindowName().
TGScrollBar::~TGScrollBar | ( | ) | [virtual] |
Definition at line 234 of file TGScrollBar.cxx.
References TGObject::fClient, fHead, fHeadPic, TGClient::FreePicture(), fRepeat, fSlider, fTail, and fTailPic.
TGScrollBar::TGScrollBar | ( | const TGScrollBar & | ) | [private] |
TGScrollBar::TGScrollBar | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 1 , |
|||
UInt_t | h = 1 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
virtual TGScrollBar::~TGScrollBar | ( | ) | [virtual] |
TGScrollBar& TGScrollBar::operator= | ( | const TGScrollBar & | ) | [private] |
Pixmap_t TGScrollBar::GetBckgndPixmap | ( | ) | [static] |
Definition at line 276 of file TGScrollBar.cxx.
References fgBckgndPixmap, gClient, TGResourcePool::GetCheckeredPixmap(), TGClient::GetResourcePool(), init(), kFALSE, and kTRUE.
Referenced by G__G__Gui2_235_0_3(), G__setup_memfuncTGScrollBar(), and TGScrollBar().
Int_t TGScrollBar::GetScrollBarWidth | ( | ) | [static] |
Definition at line 289 of file TGScrollBar.cxx.
References fgScrollBarWidth.
Referenced by G__G__Gui2_235_0_4(), G__setup_memfuncTGScrollBar(), TGHScrollBar::GetDefaultSize(), and TGVScrollBar::GetDefaultSize().
void TGScrollBar::GrabPointer | ( | Bool_t | grab | ) | [inline] |
Definition at line 116 of file TGScrollBar.h.
References fGrabPointer.
Referenced by TGComboBox::Init().
virtual void TGScrollBar::DrawBorder | ( | ) | [inline, virtual] |
Reimplemented from TGFrame.
Reimplemented from TGWindow.
Definition at line 247 of file TGScrollBar.cxx.
References Event_t::fCode, TGObject::fId, fSmallInc, Event_t::fState, fSubw, Event_t::fType, Event_t::fUser, Event_t::fX, Event_t::fXRoot, Event_t::fY, Event_t::fYRoot, gVirtualX, HandleButton(), IsAccelerated(), kButton1, kButtonPress, kTRUE, and t.
virtual void TGScrollBar::Layout | ( | ) | [pure virtual] |
Reimplemented from TGFrame.
Referenced by MoveResize(), and Resize().
virtual void TGScrollBar::SetPosition | ( | Int_t | pos | ) | [pure virtual] |
Referenced by SettingsDialog::SettingsDialog().
virtual Int_t TGScrollBar::GetPosition | ( | ) | const [inline, virtual] |
Definition at line 126 of file TGScrollBar.h.
References fPos.
Referenced by TGListTree::AdjustPosition(), TGCanvas::GetHsbPosition(), TGCanvas::GetVsbPosition(), TGLBContainer::HandleButton(), TGLBContainer::OnAutoScroll(), TGHScrollBar::SavePrimitive(), TGVScrollBar::SavePrimitive(), and TGView::ScrollToPosition().
virtual Int_t TGScrollBar::GetPageSize | ( | ) | const [inline, virtual] |
Definition at line 127 of file TGScrollBar.h.
References fPsize.
Referenced by TGContainer::AdjustPosition(), TGLVContainer::LineLeft(), TGHScrollBar::SavePrimitive(), and TGVScrollBar::SavePrimitive().
virtual Int_t TGScrollBar::GetRange | ( | ) | const [inline, virtual] |
Definition at line 128 of file TGScrollBar.h.
References fRange.
Referenced by TGHScrollBar::SavePrimitive(), and TGVScrollBar::SavePrimitive().
Reimplemented from TGFrame.
Definition at line 129 of file TGScrollBar.h.
References fPsize, fRange, h, TGFrame::Resize(), SetRange(), and w.
Referenced by Resize().
virtual void TGScrollBar::MoveResize | ( | Int_t | x, | |
Int_t | y, | |||
UInt_t | w = 0 , |
|||
UInt_t | h = 0 | |||
) | [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 130 of file TGScrollBar.h.
References fPsize, fRange, h, TGFrame::MoveResize(), SetRange(), and w.
Referenced by TGTextView::HLayout(), TGView::Layout(), TGListBox::Layout(), TGCanvas::Layout(), and TGTextView::VLayout().
virtual void TGScrollBar::Resize | ( | TGDimension | size | ) | [inline, virtual] |
void TGScrollBar::ChangeBackground | ( | Pixel_t | back | ) | [virtual] |
Reimplemented from TGFrame.
Definition at line 297 of file TGScrollBar.cxx.
References TGFrame::ChangeBackground(), fHead, fSlider, and fTail.
Definition at line 134 of file TGScrollBar.h.
References fAccelerated, and m.
Referenced by TGHtml::TGHtml().
Bool_t TGScrollBar::IsAccelerated | ( | ) | const [inline] |
virtual void TGScrollBar::MapSubwindows | ( | ) | [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 137 of file TGScrollBar.h.
References TGWindow::MapSubwindows().
Referenced by TGCanvas::MapSubwindows().
TGScrollBarElement* TGScrollBar::GetHead | ( | ) | const [inline] |
TGScrollBarElement* TGScrollBar::GetTail | ( | ) | const [inline] |
TGScrollBarElement* TGScrollBar::GetSlider | ( | ) | const [inline] |
virtual void TGScrollBar::PositionChanged | ( | Int_t | pos | ) | [inline, virtual] |
Definition at line 142 of file TGScrollBar.h.
References TQObject::Emit().
Referenced by TGVScrollBar::HandleButton(), TGHScrollBar::HandleButton(), TGVScrollBar::HandleMotion(), TGHScrollBar::HandleMotion(), TGVScrollBar::SetPosition(), TGHScrollBar::SetPosition(), TGHScrollBar::SetRange(), and TGVScrollBar::SetRange().
virtual void TGScrollBar::RangeChanged | ( | Int_t | range | ) | [inline, virtual] |
Definition at line 143 of file TGScrollBar.h.
References TQObject::Emit().
Referenced by TGHScrollBar::SetRange(), and TGVScrollBar::SetRange().
virtual void TGScrollBar::PageSizeChanged | ( | Int_t | range | ) | [inline, virtual] |
Definition at line 144 of file TGScrollBar.h.
References TQObject::Emit().
Referenced by TGHScrollBar::SetRange(), and TGVScrollBar::SetRange().
virtual Int_t TGScrollBar::GetSmallIncrement | ( | ) | [inline, virtual] |
virtual void TGScrollBar::SetSmallIncrement | ( | Int_t | increment | ) | [inline, virtual] |
Definition at line 147 of file TGScrollBar.h.
References fSmallInc.
Referenced by TGListView::SetIncrements().
TGScrollBar& TGScrollBar::operator= | ( | const TGScrollBar & | ) | [private] |
static Pixmap_t TGScrollBar::GetBckgndPixmap | ( | ) | [static] |
static Int_t TGScrollBar::GetScrollBarWidth | ( | ) | [static] |
void TGScrollBar::GrabPointer | ( | Bool_t | grab | ) | [inline] |
virtual void TGScrollBar::DrawBorder | ( | ) | [inline, virtual] |
Reimplemented from TGFrame.
Reimplemented from TGFrame.
virtual void TGScrollBar::Layout | ( | ) | [pure virtual] |
Reimplemented from TGFrame.
virtual void TGScrollBar::SetPosition | ( | Int_t | pos | ) | [pure virtual] |
virtual Int_t TGScrollBar::GetPosition | ( | ) | const [inline, virtual] |
virtual Int_t TGScrollBar::GetPageSize | ( | ) | const [inline, virtual] |
virtual Int_t TGScrollBar::GetRange | ( | ) | const [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 129 of file TGScrollBar.h.
References fPsize, fRange, h, TGFrame::Resize(), SetRange(), and w.
virtual void TGScrollBar::MoveResize | ( | Int_t | x, | |
Int_t | y, | |||
UInt_t | w = 0 , |
|||
UInt_t | h = 0 | |||
) | [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 130 of file TGScrollBar.h.
References fPsize, fRange, h, TGFrame::MoveResize(), SetRange(), and w.
virtual void TGScrollBar::Resize | ( | TGDimension | size | ) | [inline, virtual] |
Bool_t TGScrollBar::IsAccelerated | ( | ) | const [inline] |
virtual void TGScrollBar::MapSubwindows | ( | ) | [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 137 of file TGScrollBar.h.
References TGWindow::MapSubwindows().
TGScrollBarElement* TGScrollBar::GetHead | ( | ) | const [inline] |
TGScrollBarElement* TGScrollBar::GetTail | ( | ) | const [inline] |
TGScrollBarElement* TGScrollBar::GetSlider | ( | ) | const [inline] |
virtual void TGScrollBar::PositionChanged | ( | Int_t | pos | ) | [inline, virtual] |
virtual void TGScrollBar::RangeChanged | ( | Int_t | range | ) | [inline, virtual] |
virtual void TGScrollBar::PageSizeChanged | ( | Int_t | range | ) | [inline, virtual] |
virtual Int_t TGScrollBar::GetSmallIncrement | ( | ) | [inline, virtual] |
virtual void TGScrollBar::SetSmallIncrement | ( | Int_t | increment | ) | [inline, virtual] |
Int_t TGScrollBar::fX0 [protected] |
Definition at line 85 of file TGScrollBar.h.
Referenced by TGVScrollBar::HandleButton(), TGHScrollBar::HandleButton(), TGVScrollBar::HandleMotion(), TGHScrollBar::HandleMotion(), TGHScrollBar::Layout(), TGHScrollBar::SetPosition(), and TGHScrollBar::SetRange().
Int_t TGScrollBar::fY0 [protected] |
Definition at line 85 of file TGScrollBar.h.
Referenced by TGVScrollBar::HandleButton(), TGHScrollBar::HandleButton(), TGVScrollBar::HandleMotion(), TGHScrollBar::HandleMotion(), TGVScrollBar::Layout(), TGVScrollBar::SetPosition(), and TGVScrollBar::SetRange().
Int_t TGScrollBar::fXp [protected] |
Definition at line 86 of file TGScrollBar.h.
Referenced by TGVScrollBar::HandleButton(), TGHScrollBar::HandleButton(), TGVScrollBar::HandleMotion(), and TGHScrollBar::HandleMotion().
Int_t TGScrollBar::fYp [protected] |
Definition at line 86 of file TGScrollBar.h.
Referenced by TGVScrollBar::HandleButton(), TGHScrollBar::HandleButton(), TGVScrollBar::HandleMotion(), and TGHScrollBar::HandleMotion().
Bool_t TGScrollBar::fDragging [protected] |
Definition at line 87 of file TGScrollBar.h.
Referenced by TGVScrollBar::HandleButton(), TGHScrollBar::HandleButton(), TGVScrollBar::HandleMotion(), and TGHScrollBar::HandleMotion().
Bool_t TGScrollBar::fGrabPointer [protected] |
Definition at line 88 of file TGScrollBar.h.
Referenced by GrabPointer(), TGVScrollBar::HandleButton(), and TGHScrollBar::HandleButton().
Int_t TGScrollBar::fRange [protected] |
Definition at line 89 of file TGScrollBar.h.
Referenced by GetRange(), TGVScrollBar::HandleButton(), TGHScrollBar::HandleButton(), TGVScrollBar::HandleMotion(), TGHScrollBar::HandleMotion(), MoveResize(), Resize(), TGVScrollBar::SetPosition(), TGHScrollBar::SetPosition(), TGHScrollBar::SetRange(), and TGVScrollBar::SetRange().
Int_t TGScrollBar::fPsize [protected] |
Definition at line 90 of file TGScrollBar.h.
Referenced by GetPageSize(), TGVScrollBar::HandleButton(), TGHScrollBar::HandleButton(), TGVScrollBar::HandleMotion(), TGHScrollBar::HandleMotion(), MoveResize(), Resize(), TGVScrollBar::SetPosition(), TGHScrollBar::SetPosition(), TGHScrollBar::SetRange(), and TGVScrollBar::SetRange().
Int_t TGScrollBar::fPos [protected] |
Definition at line 91 of file TGScrollBar.h.
Referenced by GetPosition(), TGVScrollBar::HandleButton(), TGHScrollBar::HandleButton(), TGVScrollBar::HandleMotion(), TGHScrollBar::HandleMotion(), TGVScrollBar::SetPosition(), TGHScrollBar::SetPosition(), TGHScrollBar::SetRange(), and TGVScrollBar::SetRange().
Int_t TGScrollBar::fSliderSize [protected] |
Definition at line 92 of file TGScrollBar.h.
Referenced by TGVScrollBar::HandleButton(), TGHScrollBar::HandleButton(), TGVScrollBar::SetPosition(), TGHScrollBar::SetPosition(), TGHScrollBar::SetRange(), and TGVScrollBar::SetRange().
Int_t TGScrollBar::fSliderRange [protected] |
Definition at line 93 of file TGScrollBar.h.
Referenced by TGVScrollBar::HandleButton(), TGHScrollBar::HandleButton(), TGVScrollBar::HandleMotion(), TGHScrollBar::HandleMotion(), TGVScrollBar::SetPosition(), TGHScrollBar::SetPosition(), TGHScrollBar::SetRange(), and TGVScrollBar::SetRange().
Int_t TGScrollBar::fSmallInc [protected] |
Definition at line 94 of file TGScrollBar.h.
Referenced by GetSmallIncrement(), TGVScrollBar::HandleButton(), TGHScrollBar::HandleButton(), HandleTimer(), and SetSmallIncrement().
TGScrollBarElement* TGScrollBar::fHead [protected] |
Definition at line 95 of file TGScrollBar.h.
Referenced by ChangeBackground(), GetHead(), TGVScrollBar::HandleButton(), TGHScrollBar::HandleButton(), TGVScrollBar::Layout(), TGHScrollBar::Layout(), and ~TGScrollBar().
TGScrollBarElement* TGScrollBar::fTail [protected] |
Definition at line 96 of file TGScrollBar.h.
Referenced by ChangeBackground(), GetTail(), TGVScrollBar::HandleButton(), TGHScrollBar::HandleButton(), TGVScrollBar::Layout(), TGHScrollBar::Layout(), and ~TGScrollBar().
TGScrollBarElement* TGScrollBar::fSlider [protected] |
Definition at line 97 of file TGScrollBar.h.
Referenced by ChangeBackground(), GetSlider(), TGVScrollBar::HandleButton(), TGHScrollBar::HandleButton(), TGVScrollBar::HandleMotion(), TGHScrollBar::HandleMotion(), TGVScrollBar::Layout(), TGHScrollBar::Layout(), TGVScrollBar::SetPosition(), TGHScrollBar::SetPosition(), TGHScrollBar::SetRange(), TGVScrollBar::SetRange(), and ~TGScrollBar().
const TGPicture* TGScrollBar::fHeadPic [protected] |
const TGPicture* TGScrollBar::fTailPic [protected] |
TTimer* TGScrollBar::fRepeat [protected] |
Definition at line 100 of file TGScrollBar.h.
Referenced by TGVScrollBar::HandleButton(), TGHScrollBar::HandleButton(), and ~TGScrollBar().
Window_t TGScrollBar::fSubw [protected] |
Definition at line 101 of file TGScrollBar.h.
Referenced by TGVScrollBar::HandleButton(), TGHScrollBar::HandleButton(), and HandleTimer().
Bool_t TGScrollBar::fAccelerated [protected] |
Definition at line 102 of file TGScrollBar.h.
Referenced by IsAccelerated(), SetAccelerated(), and TGScrollBar().
static Pixmap_t TGScrollBar::fgBckgndPixmap [static, protected] |
static Int_t TGScrollBar::fgScrollBarWidth [static, protected] |
Definition at line 105 of file TGScrollBar.h.
Referenced by GetScrollBarWidth(), TGVScrollBar::HandleButton(), TGHScrollBar::HandleButton(), TGVScrollBar::HandleMotion(), TGHScrollBar::HandleMotion(), TGVScrollBar::Layout(), TGHScrollBar::Layout(), TGVScrollBar::SetPosition(), TGHScrollBar::SetPosition(), TGHScrollBar::SetRange(), and TGVScrollBar::SetRange().
TGScrollBarElement* TGScrollBar::fHead [protected] |
Definition at line 95 of file TGScrollBar.h.
TGScrollBarElement* TGScrollBar::fTail [protected] |
Definition at line 96 of file TGScrollBar.h.
TGScrollBarElement* TGScrollBar::fSlider [protected] |
Definition at line 97 of file TGScrollBar.h.
const TGPicture* TGScrollBar::fHeadPic [protected] |
Definition at line 98 of file TGScrollBar.h.
const TGPicture* TGScrollBar::fTailPic [protected] |
Definition at line 99 of file TGScrollBar.h.
TTimer* TGScrollBar::fRepeat [protected] |
Definition at line 100 of file TGScrollBar.h.