#include <TGDoubleSlider.h>
Inheritance diagram for TGDoubleHSlider:
Public Member Functions | |
TGDoubleHSlider (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) | |
virtual | ~TGDoubleHSlider () |
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="") |
TGDoubleHSlider (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) | |
virtual | ~TGDoubleHSlider () |
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 | fXp |
Definition at line 184 of file TGDoubleSlider.h.
TGDoubleHSlider::TGDoubleHSlider | ( | 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 | |||
) |
TGDoubleHSlider::~TGDoubleHSlider | ( | ) | [virtual] |
Definition at line 422 of file TGDoubleSlider.cxx.
References TGObject::fClient, TGClient::FreePicture(), and TGDoubleSlider::fSliderPic.
TGDoubleHSlider::TGDoubleHSlider | ( | 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 | |||
) |
virtual TGDoubleHSlider::~TGDoubleHSlider | ( | ) | [virtual] |
void TGDoubleHSlider::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
Definition at line 430 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, x, x1, and x2.
Referenced by TGTripleHSlider::DoRedraw().
Implements TGDoubleSlider.
Definition at line 493 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_HSLIDER, kFALSE, kNone, kPointerMotionMask, kSL_PRESS, kSL_RELEASE, kTRUE, MK_MSG(), TGDoubleSlider::Pressed(), TGClient::ProcessLine(), TGDoubleSlider::Released(), and TGFrame::SendMessage().
Implements TGDoubleSlider.
Definition at line 540 of file TGDoubleSlider.cxx.
References TGDoubleSlider::ChangeCursor(), TGObject::fClient, TGWidget::fCommand, TGDoubleSlider::fMove, TGWidget::fMsgWindow, TGDoubleSlider::fPressPoint, TGDoubleSlider::fPressSmax, TGDoubleSlider::fPressSmin, TGDoubleSlider::fSmax, TGDoubleSlider::fSmin, TGDoubleSlider::fVmax, TGDoubleSlider::fVmin, TGWidget::fWidgetId, TGFrame::fWidth, Event_t::fX, gSystem, kC_HSLIDER, kSL_POS, kTRUE, Long64_t, MK_MSG(), TGClient::NeedRedraw(), TSystem::Now(), TGDoubleSlider::PositionChanged(), TGClient::ProcessLine(), and TGFrame::SendMessage().
virtual TGDimension TGDoubleHSlider::GetDefaultSize | ( | ) | const [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 202 of file TGDoubleSlider.h.
References TGFrame::fWidth, and kDoubleSliderHeight.
void TGDoubleHSlider::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGFrame.
Definition at line 593 of file TGDoubleSlider.cxx.
References TGDoubleSlider::fMarkEnds, TGWindow::fParent, TGDoubleSlider::fReversedScale, TGDoubleSlider::fScale, 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 TGDoubleHSlider::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
Implements TGDoubleSlider.
Implements TGDoubleSlider.
virtual TGDimension TGDoubleHSlider::GetDefaultSize | ( | ) | const [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 202 of file TGDoubleSlider.h.
References TGFrame::fWidth, and kDoubleSliderHeight.
virtual void TGDoubleHSlider::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGFrame.
Int_t TGDoubleHSlider::fXp [protected] |
Definition at line 187 of file TGDoubleSlider.h.