#include <TGSlider.h>
Inheritance diagram for TGVSlider:
Public Member Functions | |
TGVSlider (const TGWindow *p=0, UInt_t h=40, UInt_t type=kSlider1|kScaleBoth, Int_t id=-1, UInt_t options=kVerticalFrame, Pixel_t back=GetDefaultFrameBackground()) | |
virtual | ~TGVSlider () |
virtual Bool_t | HandleButton (Event_t *event) |
virtual Bool_t | HandleConfigureNotify (Event_t *event) |
virtual Bool_t | HandleMotion (Event_t *event) |
virtual TGDimension | GetDefaultSize () const |
virtual void | Resize (UInt_t w, UInt_t h) |
virtual void | Resize (TGDimension size) |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
TGVSlider (const TGWindow *p=0, UInt_t h=40, UInt_t type=kSlider1|kScaleBoth, Int_t id=-1, UInt_t options=kVerticalFrame, Pixel_t back=GetDefaultFrameBackground()) | |
virtual | ~TGVSlider () |
virtual Bool_t | HandleButton (Event_t *event) |
virtual Bool_t | HandleConfigureNotify (Event_t *event) |
virtual Bool_t | HandleMotion (Event_t *event) |
virtual TGDimension | GetDefaultSize () const |
virtual void | Resize (UInt_t w, UInt_t h) |
virtual void | Resize (TGDimension size) |
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 125 of file TGSlider.h.
TGVSlider::TGVSlider | ( | const TGWindow * | p = 0 , |
|
UInt_t | h = 40 , |
|||
UInt_t | type = kSlider1|kScaleBoth , |
|||
Int_t | id = -1 , |
|||
UInt_t | options = kVerticalFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
TGVSlider::~TGVSlider | ( | ) | [virtual] |
Definition at line 149 of file TGSlider.cxx.
References TGObject::fClient, TGSlider::fDisabledPic, TGClient::FreePicture(), and TGSlider::fSliderPic.
TGVSlider::TGVSlider | ( | const TGWindow * | p = 0 , |
|
UInt_t | h = 40 , |
|||
UInt_t | type = kSlider1|kScaleBoth , |
|||
Int_t | id = -1 , |
|||
UInt_t | options = kVerticalFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
virtual TGVSlider::~TGVSlider | ( | ) | [virtual] |
void TGVSlider::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
Definition at line 158 of file TGSlider.cxx.
References TGSlider::CreateDisabledPicture(), TGPicture::Draw(), TGSlider::fDisabledPic, TGFrame::fHeight, TGObject::fId, TGSlider::fPos, TGSlider::fRelPos, TGSlider::fScale, TGSlider::fSliderPic, TGSlider::fType, TGSlider::fVmax, TGSlider::fVmin, TGFrame::fWidth, TGFrame::GetBckgndGC(), TGFrame::GetBlackGC(), TGFrame::GetHilightGC(), TGFrame::GetShadowGC(), gVirtualX, i, int, TGWidget::IsEnabled(), kScaleBoth, kScaleNo, kSlider2, and y.
Implements TGSlider.
Definition at line 201 of file TGSlider.cxx.
References TGObject::fClient, Event_t::fCode, TGWidget::fCommand, TGSlider::fDragging, TGFrame::fHeight, TGObject::fId, TGWidget::fMsgWindow, TGSlider::fPos, TGSlider::fRelPos, Event_t::fType, TGSlider::fVmax, TGSlider::fVmin, TGWidget::fWidgetId, TGFrame::fWidth, Event_t::fX, Event_t::fY, fYp, gVirtualX, TGWidget::IsEnabled(), kButton1, kButton2, kButtonPress, kButtonPressMask, kButtonReleaseMask, kC_VSLIDER, kFALSE, kNone, kPointerMotionMask, kSL_POS, kSL_PRESS, kSL_RELEASE, kTRUE, m, MK_MSG(), TGClient::NeedRedraw(), TGSlider::PositionChanged(), TGSlider::Pressed(), TGClient::ProcessLine(), TGSlider::Released(), and TGFrame::SendMessage().
Implements TGSlider.
Definition at line 284 of file TGSlider.cxx.
References TGObject::fClient, TGFrame::HandleConfigureNotify(), kTRUE, and TGClient::NeedRedraw().
Implements TGSlider.
Definition at line 260 of file TGSlider.cxx.
References TGObject::fClient, TGWidget::fCommand, TGSlider::fDragging, TGFrame::fHeight, TGWidget::fMsgWindow, TGSlider::fPos, TGSlider::fVmax, TGSlider::fVmin, TGWidget::fWidgetId, Event_t::fY, fYp, kC_VSLIDER, kSL_POS, kTRUE, MK_MSG(), TGClient::NeedRedraw(), TGSlider::PositionChanged(), TGClient::ProcessLine(), and TGFrame::SendMessage().
virtual TGDimension TGVSlider::GetDefaultSize | ( | ) | const [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 142 of file TGSlider.h.
References TGFrame::fHeight, and kSliderWidth.
Reimplemented from TGFrame.
Definition at line 144 of file TGSlider.h.
References TGFrame::fHeight, and TGFrame::Resize().
Referenced by Resize().
virtual void TGVSlider::Resize | ( | TGDimension | size | ) | [inline, virtual] |
void TGVSlider::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGFrame.
Definition at line 534 of file TGSlider.cxx.
References TGFrame::fBackground, TGFrame::fHeight, TGWindow::fParent, TGSlider::fPos, TGSlider::fScale, TGSlider::fVmax, TGSlider::fVmin, TGFrame::GetDefaultFrameBackground(), TGFrame::GetHeight(), TGWindow::GetName(), TGFrame::GetOptions(), TGFrame::GetOptionString(), TGSlider::GetPosition(), TGSlider::GetTypeString(), TGWidget::IsEnabled(), TGFrame::SaveUserColor(), and TGWidget::WidgetId().
virtual void TGVSlider::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
virtual TGDimension TGVSlider::GetDefaultSize | ( | ) | const [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 142 of file TGSlider.h.
References TGFrame::fHeight, and kSliderWidth.
Reimplemented from TGFrame.
Definition at line 144 of file TGSlider.h.
References TGFrame::fHeight, and TGFrame::Resize().
virtual void TGVSlider::Resize | ( | TGDimension | size | ) | [inline, virtual] |
virtual void TGVSlider::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGFrame.
Int_t TGVSlider::fYp [protected] |