#include <TGTripleSlider.h>
Inheritance diagram for TGTripleVSlider:
Public Member Functions | |
TGTripleVSlider (const TGWindow *p=0, UInt_t h=1, UInt_t type=1, Int_t id=-1, UInt_t options=kVerticalFrame, Pixel_t back=GetDefaultFrameBackground(), Bool_t reversed=kFALSE, Bool_t mark_ends=kFALSE, Bool_t constrained=kTRUE, Bool_t relative=kFALSE) | |
virtual | ~TGTripleVSlider () |
virtual void | PointerPositionChanged () |
virtual void | DrawPointer () |
virtual Float_t | GetPointerPosition () const |
virtual Bool_t | HandleButton (Event_t *event) |
virtual Bool_t | HandleConfigureNotify (Event_t *event) |
virtual Bool_t | HandleMotion (Event_t *event) |
virtual void | SetConstrained (Bool_t on=kTRUE) |
virtual void | SetPointerPosition (Float_t pos) |
virtual void | SetRelative (Bool_t rel=kTRUE) |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
TGTripleVSlider (const TGWindow *p=0, UInt_t h=1, UInt_t type=1, Int_t id=-1, UInt_t options=kVerticalFrame, Pixel_t back=GetDefaultFrameBackground(), Bool_t reversed=kFALSE, Bool_t mark_ends=kFALSE, Bool_t constrained=kTRUE, Bool_t relative=kFALSE) | |
virtual | ~TGTripleVSlider () |
virtual void | PointerPositionChanged () |
virtual void | DrawPointer () |
virtual Float_t | GetPointerPosition () const |
virtual Bool_t | HandleButton (Event_t *event) |
virtual Bool_t | HandleConfigureNotify (Event_t *event) |
virtual Bool_t | HandleMotion (Event_t *event) |
virtual void | SetConstrained (Bool_t on=kTRUE) |
virtual void | SetPointerPosition (Float_t pos) |
virtual void | SetRelative (Bool_t rel=kTRUE) |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
Protected Member Functions | |
virtual void | DoRedraw () |
virtual void | SetPointerPos (Int_t z, Int_t opt=0) |
virtual void | DoRedraw () |
virtual void | SetPointerPos (Int_t z, Int_t opt=0) |
Protected Attributes | |
Int_t | fCz |
Float_t | fSCz |
Bool_t | fConstrained |
Bool_t | fRelative |
const TGPicture * | fPointerPic |
const TGPicture * | fPointerPic |
Definition at line 66 of file TGTripleSlider.h.
TGTripleVSlider::TGTripleVSlider | ( | const TGWindow * | p = 0 , |
|
UInt_t | h = 1 , |
|||
UInt_t | type = 1 , |
|||
Int_t | id = -1 , |
|||
UInt_t | options = kVerticalFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() , |
|||
Bool_t | reversed = kFALSE , |
|||
Bool_t | mark_ends = kFALSE , |
|||
Bool_t | constrained = kTRUE , |
|||
Bool_t | relative = kFALSE | |||
) |
TGTripleVSlider::~TGTripleVSlider | ( | ) | [virtual] |
Definition at line 95 of file TGTripleSlider.cxx.
References TGObject::fClient, fPointerPic, and TGClient::FreePicture().
TGTripleVSlider::TGTripleVSlider | ( | const TGWindow * | p = 0 , |
|
UInt_t | h = 1 , |
|||
UInt_t | type = 1 , |
|||
Int_t | id = -1 , |
|||
UInt_t | options = kVerticalFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() , |
|||
Bool_t | reversed = kFALSE , |
|||
Bool_t | mark_ends = kFALSE , |
|||
Bool_t | constrained = kTRUE , |
|||
Bool_t | relative = kFALSE | |||
) |
virtual TGTripleVSlider::~TGTripleVSlider | ( | ) | [virtual] |
void TGTripleVSlider::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGDoubleVSlider.
Definition at line 103 of file TGTripleSlider.cxx.
References TGDoubleVSlider::DoRedraw(), and DrawPointer().
Definition at line 274 of file TGTripleSlider.cxx.
References DrawPointer(), TGObject::fClient, TGWidget::fCommand, fConstrained, fCz, TGFrame::fHeight, TGDoubleSlider::fMove, TGWidget::fMsgWindow, fSCz, TGDoubleSlider::fSmax, TGDoubleSlider::fSmin, TGDoubleSlider::fVmax, TGDoubleSlider::fVmin, TGWidget::fWidgetId, gSystem, int, kC_VSLIDER, kSL_POINTER, kTRUE, Long64_t, MK_MSG(), TGClient::NeedRedraw(), TSystem::Now(), PointerPositionChanged(), TGClient::ProcessLine(), and TGFrame::SendMessage().
Referenced by HandleMotion(), SetConstrained(), and SetPointerPosition().
virtual void TGTripleVSlider::PointerPositionChanged | ( | ) | [inline, virtual] |
Definition at line 89 of file TGTripleSlider.h.
References TQObject::Emit().
Referenced by SetPointerPos().
void TGTripleVSlider::DrawPointer | ( | ) | [virtual] |
Definition at line 113 of file TGTripleSlider.cxx.
References TGPicture::Draw(), fCz, TGObject::fId, fPointerPic, TGFrame::fWidth, and TGFrame::GetBckgndGC().
Referenced by DoRedraw(), and SetPointerPos().
virtual Float_t TGTripleVSlider::GetPointerPosition | ( | ) | const [inline, virtual] |
Definition at line 91 of file TGTripleSlider.h.
References TGDoubleSlider::fReversedScale, fSCz, TGDoubleSlider::fVmax, and TGDoubleSlider::fVmin.
Referenced by SetConstrained().
Reimplemented from TGDoubleVSlider.
Definition at line 121 of file TGTripleSlider.cxx.
References TGObject::fClient, Event_t::fCode, TGWidget::fCommand, fCz, TGFrame::fHeight, TGObject::fId, TGDoubleSlider::fMove, TGWidget::fMsgWindow, TGDoubleSlider::fPressPoint, TGDoubleSlider::fPressSmax, TGDoubleSlider::fPressSmin, TGDoubleSlider::fSmax, TGDoubleSlider::fSmin, Event_t::fType, TGDoubleSlider::fVmax, TGDoubleSlider::fVmin, TGWidget::fWidgetId, TGFrame::fWidth, Event_t::fX, Event_t::fY, gVirtualX, int, kButton1, kButtonPress, kButtonPressMask, kButtonRelease, kButtonReleaseMask, kC_VSLIDER, kFALSE, kNone, kPointerMotionMask, kSL_PRESS, kSL_RELEASE, kTRUE, MK_MSG(), TGDoubleSlider::Pressed(), TGClient::ProcessLine(), TGDoubleSlider::Released(), and TGFrame::SendMessage().
Reimplemented from TGFrame.
Definition at line 171 of file TGTripleSlider.cxx.
References fSCz, TGFrame::HandleConfigureNotify(), kTRUE, and SetPointerPosition().
Reimplemented from TGDoubleVSlider.
Definition at line 181 of file TGTripleSlider.cxx.
References TGDoubleSlider::ChangeCursor(), TGObject::fClient, TGWidget::fCommand, fCz, TGFrame::fHeight, TGObject::fId, TGDoubleSlider::fMove, TGWidget::fMsgWindow, TGDoubleSlider::fPressPoint, TGDoubleSlider::fPressSmax, TGDoubleSlider::fPressSmin, fRelative, TGDoubleSlider::fSmax, TGDoubleSlider::fSmin, TGDoubleSlider::fVmax, TGDoubleSlider::fVmin, TGWidget::fWidgetId, TGFrame::fWidth, Event_t::fX, Event_t::fY, gSystem, gVirtualX, kC_VSLIDER, kNone, kSL_POS, kTRUE, Long64_t, MK_MSG(), TGClient::NeedRedraw(), TSystem::Now(), TGDoubleSlider::PositionChanged(), TGClient::ProcessLine(), TGFrame::SendMessage(), and SetPointerPos().
Definition at line 259 of file TGTripleSlider.cxx.
References fConstrained, TGDoubleSlider::GetMaxPosition(), TGDoubleSlider::GetMinPosition(), GetPointerPosition(), and SetPointerPos().
void TGTripleVSlider::SetPointerPosition | ( | Float_t | pos | ) | [virtual] |
Definition at line 333 of file TGTripleSlider.cxx.
References TGFrame::fHeight, TGDoubleSlider::fReversedScale, fSCz, TGDoubleSlider::fVmax, TGDoubleSlider::fVmin, and SetPointerPos().
Referenced by HandleConfigureNotify(), and SliderWindow::SliderWindow().
void TGTripleVSlider::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGDoubleVSlider.
Definition at line 672 of file TGTripleSlider.cxx.
References fConstrained, TGFrame::fHeight, TGDoubleSlider::fMarkEnds, TGWindow::fParent, fRelative, TGDoubleSlider::fReversedScale, TGDoubleSlider::fScale, fSCz, TGDoubleSlider::fSmax, TGDoubleSlider::fSmin, TGDoubleSlider::fVmax, TGDoubleSlider::fVmin, TGFrame::GetHeight(), TGDoubleSlider::GetMaxPosition(), TGDoubleSlider::GetMinPosition(), TGWindow::GetName(), TGFrame::GetOptionString(), TGDoubleSlider::GetSString(), TGFrame::SaveUserColor(), and TGWidget::WidgetId().
virtual void TGTripleVSlider::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGDoubleVSlider.
virtual void TGTripleVSlider::PointerPositionChanged | ( | ) | [inline, virtual] |
virtual void TGTripleVSlider::DrawPointer | ( | ) | [virtual] |
virtual Float_t TGTripleVSlider::GetPointerPosition | ( | ) | const [inline, virtual] |
Definition at line 91 of file TGTripleSlider.h.
References TGDoubleSlider::fReversedScale, fSCz, TGDoubleSlider::fVmax, and TGDoubleSlider::fVmin.
Reimplemented from TGDoubleVSlider.
Reimplemented from TGFrame.
Reimplemented from TGDoubleVSlider.
virtual void TGTripleVSlider::SetPointerPosition | ( | Float_t | pos | ) | [virtual] |
virtual void TGTripleVSlider::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGDoubleVSlider.
Int_t TGTripleVSlider::fCz [protected] |
Definition at line 69 of file TGTripleSlider.h.
Referenced by DrawPointer(), HandleButton(), HandleMotion(), and SetPointerPos().
Float_t TGTripleVSlider::fSCz [protected] |
Definition at line 70 of file TGTripleSlider.h.
Referenced by GetPointerPosition(), HandleConfigureNotify(), SavePrimitive(), SetPointerPos(), and SetPointerPosition().
Bool_t TGTripleVSlider::fConstrained [protected] |
Definition at line 71 of file TGTripleSlider.h.
Referenced by SavePrimitive(), SetConstrained(), and SetPointerPos().
Bool_t TGTripleVSlider::fRelative [protected] |
Definition at line 72 of file TGTripleSlider.h.
Referenced by HandleMotion(), SavePrimitive(), and SetRelative().
const TGPicture* TGTripleVSlider::fPointerPic [protected] |
Definition at line 73 of file TGTripleSlider.h.
Referenced by DrawPointer(), and ~TGTripleVSlider().
const TGPicture* TGTripleVSlider::fPointerPic [protected] |
Definition at line 73 of file TGTripleSlider.h.