TGDoubleVSlider Class Reference

#include <TGDoubleSlider.h>

Inheritance diagram for TGDoubleVSlider:

TGDoubleSlider TGDoubleSlider TGWidget TGFrame TGWidget TGFrame TGWidget TGFrame TGWidget TGFrame TGTripleVSlider TGTripleVSlider List of all members.

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

Detailed Description

Definition at line 158 of file TGDoubleSlider.h.


Constructor & Destructor Documentation

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]


Member Function Documentation

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().

Bool_t TGDoubleVSlider::HandleButton ( Event_t event  )  [virtual]

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().

Bool_t TGDoubleVSlider::HandleMotion ( Event_t event  )  [virtual]

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.

virtual Bool_t TGDoubleVSlider::HandleButton ( Event_t event  )  [virtual]

Implements TGDoubleSlider.

virtual Bool_t TGDoubleVSlider::HandleMotion ( Event_t event  )  [virtual]

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.


Member Data Documentation

Int_t TGDoubleVSlider::fYp [protected]

Definition at line 161 of file TGDoubleSlider.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:38:23 2011 for ROOT_528-00b_version by  doxygen 1.5.1