#include <TGTripleSlider.h>
Inheritance diagram for TGTripleHSlider:
Public Member Functions | |
TGTripleHSlider (const TGWindow *p=0, UInt_t w=1, UInt_t type=1, Int_t id=-1, UInt_t options=kHorizontalFrame, Pixel_t back=GetDefaultFrameBackground(), Bool_t reversed=kFALSE, Bool_t mark_ends=kFALSE, Bool_t constrained=kTRUE, Bool_t relative=kFALSE) | |
virtual | ~TGTripleHSlider () |
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="") |
TGTripleHSlider (const TGWindow *p=0, UInt_t w=1, UInt_t type=1, Int_t id=-1, UInt_t options=kHorizontalFrame, Pixel_t back=GetDefaultFrameBackground(), Bool_t reversed=kFALSE, Bool_t mark_ends=kFALSE, Bool_t constrained=kTRUE, Bool_t relative=kFALSE) | |
virtual | ~TGTripleHSlider () |
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 107 of file TGTripleSlider.h.
TGTripleHSlider::TGTripleHSlider | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 1 , |
|||
UInt_t | type = 1 , |
|||
Int_t | id = -1 , |
|||
UInt_t | options = kHorizontalFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() , |
|||
Bool_t | reversed = kFALSE , |
|||
Bool_t | mark_ends = kFALSE , |
|||
Bool_t | constrained = kTRUE , |
|||
Bool_t | relative = kFALSE | |||
) |
TGTripleHSlider::~TGTripleHSlider | ( | ) | [virtual] |
Definition at line 368 of file TGTripleSlider.cxx.
References TGObject::fClient, fPointerPic, and TGClient::FreePicture().
TGTripleHSlider::TGTripleHSlider | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 1 , |
|||
UInt_t | type = 1 , |
|||
Int_t | id = -1 , |
|||
UInt_t | options = kHorizontalFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() , |
|||
Bool_t | reversed = kFALSE , |
|||
Bool_t | mark_ends = kFALSE , |
|||
Bool_t | constrained = kTRUE , |
|||
Bool_t | relative = kFALSE | |||
) |
virtual TGTripleHSlider::~TGTripleHSlider | ( | ) | [virtual] |
void TGTripleHSlider::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGDoubleHSlider.
Definition at line 376 of file TGTripleSlider.cxx.
References TGDoubleHSlider::DoRedraw(), and DrawPointer().
Definition at line 547 of file TGTripleSlider.cxx.
References DrawPointer(), TGObject::fClient, TGWidget::fCommand, fConstrained, fCz, TGDoubleSlider::fMove, TGWidget::fMsgWindow, fSCz, TGDoubleSlider::fSmax, TGDoubleSlider::fSmin, TGDoubleSlider::fVmax, TGDoubleSlider::fVmin, TGWidget::fWidgetId, TGFrame::fWidth, gSystem, int, kC_HSLIDER, 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 TGTripleHSlider::PointerPositionChanged | ( | ) | [inline, virtual] |
Definition at line 130 of file TGTripleSlider.h.
References TQObject::Emit().
Referenced by SetPointerPos().
void TGTripleHSlider::DrawPointer | ( | ) | [virtual] |
Definition at line 386 of file TGTripleSlider.cxx.
References TGPicture::Draw(), fCz, TGFrame::fHeight, TGObject::fId, fPointerPic, and TGFrame::GetBckgndGC().
Referenced by DoRedraw(), and SetPointerPos().
virtual Float_t TGTripleHSlider::GetPointerPosition | ( | ) | const [inline, virtual] |
Definition at line 132 of file TGTripleSlider.h.
References TGDoubleSlider::fReversedScale, fSCz, TGDoubleSlider::fVmax, and TGDoubleSlider::fVmin.
Referenced by TTripleSliderDemo::DoSlider(), TFunctionParametersDialog::DoSlider(), TFitParametersDialog::DoSlider(), TTripleSliderDemo::DoText(), SetConstrained(), and TTripleSliderDemo::TTripleSliderDemo().
Reimplemented from TGDoubleHSlider.
Definition at line 394 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_HSLIDER, 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 444 of file TGTripleSlider.cxx.
References fSCz, TGFrame::HandleConfigureNotify(), kTRUE, and SetPointerPosition().
Reimplemented from TGDoubleHSlider.
Definition at line 454 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_HSLIDER, kNone, kSL_POS, kTRUE, Long64_t, MK_MSG(), TGClient::NeedRedraw(), TSystem::Now(), TGDoubleSlider::PositionChanged(), TGClient::ProcessLine(), TGFrame::SendMessage(), and SetPointerPos().
Definition at line 532 of file TGTripleSlider.cxx.
References fConstrained, TGDoubleSlider::GetMaxPosition(), TGDoubleSlider::GetMinPosition(), GetPointerPosition(), and SetPointerPos().
Referenced by TTripleSliderDemo::HandleButtons().
void TGTripleHSlider::SetPointerPosition | ( | Float_t | pos | ) | [virtual] |
Definition at line 606 of file TGTripleSlider.cxx.
References TGDoubleSlider::fReversedScale, fSCz, TGDoubleSlider::fVmax, TGDoubleSlider::fVmin, TGFrame::fWidth, and SetPointerPos().
Referenced by TFunctionParametersDialog::DoFix(), TFitParametersDialog::DoParBound(), TFitParametersDialog::DoParFix(), TFitParametersDialog::DoParMaxLimit(), TFunctionParametersDialog::DoParMaxLimit(), TFitParametersDialog::DoParMinLimit(), TFunctionParametersDialog::DoParMinLimit(), TFitParametersDialog::DoParValue(), TFitParametersDialog::DoReset(), TFunctionParametersDialog::DoReset(), TTripleSliderDemo::DoText(), HandleConfigureNotify(), SliderWindow::SliderWindow(), and TTripleSliderDemo::TTripleSliderDemo().
Definition at line 141 of file TGTripleSlider.h.
References fRelative.
Referenced by TTripleSliderDemo::HandleButtons().
void TGTripleHSlider::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGDoubleHSlider.
Definition at line 621 of file TGTripleSlider.cxx.
References fConstrained, TGDoubleSlider::fMarkEnds, TGWindow::fParent, fRelative, TGDoubleSlider::fReversedScale, TGDoubleSlider::fScale, fSCz, TGDoubleSlider::fSmax, TGDoubleSlider::fSmin, TGDoubleSlider::fVmax, TGDoubleSlider::fVmin, TGFrame::fWidth, TGDoubleSlider::GetMaxPosition(), TGDoubleSlider::GetMinPosition(), TGWindow::GetName(), TGFrame::GetOptionString(), TGDoubleSlider::GetSString(), TGFrame::GetWidth(), TGFrame::SaveUserColor(), and TGWidget::WidgetId().
virtual void TGTripleHSlider::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGDoubleHSlider.
virtual void TGTripleHSlider::PointerPositionChanged | ( | ) | [inline, virtual] |
virtual void TGTripleHSlider::DrawPointer | ( | ) | [virtual] |
virtual Float_t TGTripleHSlider::GetPointerPosition | ( | ) | const [inline, virtual] |
Definition at line 132 of file TGTripleSlider.h.
References TGDoubleSlider::fReversedScale, fSCz, TGDoubleSlider::fVmax, and TGDoubleSlider::fVmin.
Reimplemented from TGDoubleHSlider.
Reimplemented from TGFrame.
Reimplemented from TGDoubleHSlider.
virtual void TGTripleHSlider::SetPointerPosition | ( | Float_t | pos | ) | [virtual] |
virtual void TGTripleHSlider::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGDoubleHSlider.
Int_t TGTripleHSlider::fCz [protected] |
Definition at line 110 of file TGTripleSlider.h.
Referenced by DrawPointer(), HandleButton(), HandleMotion(), and SetPointerPos().
Float_t TGTripleHSlider::fSCz [protected] |
Definition at line 111 of file TGTripleSlider.h.
Referenced by GetPointerPosition(), HandleConfigureNotify(), SavePrimitive(), SetPointerPos(), and SetPointerPosition().
Bool_t TGTripleHSlider::fConstrained [protected] |
Definition at line 112 of file TGTripleSlider.h.
Referenced by SavePrimitive(), SetConstrained(), and SetPointerPos().
Bool_t TGTripleHSlider::fRelative [protected] |
Definition at line 113 of file TGTripleSlider.h.
Referenced by HandleMotion(), SavePrimitive(), and SetRelative().
const TGPicture* TGTripleHSlider::fPointerPic [protected] |
Definition at line 114 of file TGTripleSlider.h.
Referenced by DrawPointer(), and ~TGTripleHSlider().
const TGPicture* TGTripleHSlider::fPointerPic [protected] |
Definition at line 114 of file TGTripleSlider.h.