TGTripleVSlider Class Reference

#include <TGTripleSlider.h>

Inheritance diagram for TGTripleVSlider:

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

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 TGPicturefPointerPic
const TGPicturefPointerPic

Detailed Description

Definition at line 66 of file TGTripleSlider.h.


Constructor & Destructor Documentation

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]


Member Function Documentation

void TGTripleVSlider::DoRedraw (  )  [protected, virtual]

Reimplemented from TGDoubleVSlider.

Definition at line 103 of file TGTripleSlider.cxx.

References TGDoubleVSlider::DoRedraw(), and DrawPointer().

void TGTripleVSlider::SetPointerPos ( Int_t  z,
Int_t  opt = 0 
) [protected, virtual]

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

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

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

Bool_t TGTripleVSlider::HandleConfigureNotify ( Event_t event  )  [virtual]

Reimplemented from TGFrame.

Definition at line 171 of file TGTripleSlider.cxx.

References fSCz, TGFrame::HandleConfigureNotify(), kTRUE, and SetPointerPosition().

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

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

void TGTripleVSlider::SetConstrained ( Bool_t  on = kTRUE  )  [virtual]

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

virtual void TGTripleVSlider::SetRelative ( Bool_t  rel = kTRUE  )  [inline, virtual]

Definition at line 100 of file TGTripleSlider.h.

References fRelative.

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::SetPointerPos ( Int_t  z,
Int_t  opt = 0 
) [protected, virtual]

virtual void TGTripleVSlider::PointerPositionChanged (  )  [inline, virtual]

Definition at line 89 of file TGTripleSlider.h.

References TQObject::Emit().

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.

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

Reimplemented from TGDoubleVSlider.

virtual Bool_t TGTripleVSlider::HandleConfigureNotify ( Event_t event  )  [virtual]

Reimplemented from TGFrame.

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

Reimplemented from TGDoubleVSlider.

virtual void TGTripleVSlider::SetConstrained ( Bool_t  on = kTRUE  )  [virtual]

virtual void TGTripleVSlider::SetPointerPosition ( Float_t  pos  )  [virtual]

virtual void TGTripleVSlider::SetRelative ( Bool_t  rel = kTRUE  )  [inline, virtual]

Definition at line 100 of file TGTripleSlider.h.

References fRelative.

virtual void TGTripleVSlider::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TGDoubleVSlider.


Member Data Documentation

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.


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