#include <TGDoubleSlider.h>
Inheritance diagram for TGDoubleVSlider:
Public Member Functions | |
TGDoubleVSlider (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) | |
virtual | ~TGDoubleVSlider () |
virtual Bool_t | HandleButton (Event_t *event) |
virtual Bool_t | HandleMotion (Event_t *event) |
virtual TGDimension | GetDefaultSize () const |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
TGDoubleVSlider (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) | |
virtual | ~TGDoubleVSlider () |
virtual Bool_t | HandleButton (Event_t *event) |
virtual Bool_t | HandleMotion (Event_t *event) |
virtual TGDimension | GetDefaultSize () const |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
Protected Member Functions | |
virtual void | DoRedraw () |
virtual void | DoRedraw () |
Protected Attributes | |
Int_t | fYp |
Definition at line 158 of file TGDoubleSlider.h.
TGDoubleVSlider::TGDoubleVSlider | ( | 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 | |||
) |
TGDoubleVSlider::~TGDoubleVSlider | ( | ) | [virtual] |
Definition at line 229 of file TGDoubleSlider.cxx.
References TGObject::fClient, TGClient::FreePicture(), and TGDoubleSlider::fSliderPic.
TGDoubleVSlider::TGDoubleVSlider | ( | 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 | |||
) |
virtual TGDoubleVSlider::~TGDoubleVSlider | ( | ) | [virtual] |
void TGDoubleVSlider::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
Definition at line 237 of file TGDoubleSlider.cxx.
References TGPicture::Draw(), TGFrame::fHeight, TGObject::fId, TGDoubleSlider::FixBounds(), TGDoubleSlider::fMarkEnds, TGDoubleSlider::fScale, TGDoubleSlider::fScaleType, TGDoubleSlider::fSliderPic, TGDoubleSlider::fSmax, TGDoubleSlider::fSmin, TGDoubleSlider::fVmax, TGDoubleSlider::fVmin, TGFrame::fWidth, TGFrame::GetBckgndGC(), TGFrame::GetBlackGC(), TGPicture::GetHeight(), TGFrame::GetHilightGC(), TGFrame::GetShadowGC(), TGPicture::GetWidth(), gVirtualX, i, int, kDoubleScaleBoth, kDoubleScaleNo, and y.
Referenced by TGTripleVSlider::DoRedraw().
Implements TGDoubleSlider.
Definition at line 303 of file TGDoubleSlider.cxx.
References TGObject::fClient, Event_t::fCode, TGWidget::fCommand, 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().
Implements TGDoubleSlider.
Definition at line 350 of file TGDoubleSlider.cxx.
References TGDoubleSlider::ChangeCursor(), TGObject::fClient, TGWidget::fCommand, TGFrame::fHeight, TGDoubleSlider::fMove, TGWidget::fMsgWindow, TGDoubleSlider::fPressPoint, TGDoubleSlider::fPressSmax, TGDoubleSlider::fPressSmin, TGDoubleSlider::fSmax, TGDoubleSlider::fSmin, TGDoubleSlider::fVmax, TGDoubleSlider::fVmin, TGWidget::fWidgetId, Event_t::fY, gSystem, kC_VSLIDER, kSL_POS, kTRUE, Long64_t, MK_MSG(), TGClient::NeedRedraw(), TSystem::Now(), TGDoubleSlider::PositionChanged(), TGClient::ProcessLine(), and TGFrame::SendMessage().
virtual TGDimension TGDoubleVSlider::GetDefaultSize | ( | ) | const [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 176 of file TGDoubleSlider.h.
References TGFrame::fHeight, and kDoubleSliderWidth.
void TGDoubleVSlider::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGFrame.
Definition at line 631 of file TGDoubleSlider.cxx.
References TGFrame::fHeight, TGDoubleSlider::fMarkEnds, TGWindow::fParent, TGDoubleSlider::fReversedScale, TGDoubleSlider::fScale, 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 TGDoubleVSlider::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
Implements TGDoubleSlider.
Implements TGDoubleSlider.
virtual TGDimension TGDoubleVSlider::GetDefaultSize | ( | ) | const [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 176 of file TGDoubleSlider.h.
References TGFrame::fHeight, and kDoubleSliderWidth.
virtual void TGDoubleVSlider::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGFrame.
Int_t TGDoubleVSlider::fYp [protected] |
Definition at line 161 of file TGDoubleSlider.h.