#include <TGSlider.h>
Inheritance diagram for TGHSlider:
Public Member Functions | |
TGHSlider (const TGWindow *p=0, UInt_t w=40, UInt_t type=kSlider1|kScaleBoth, Int_t id=-1, UInt_t options=kHorizontalFrame, Pixel_t back=GetDefaultFrameBackground()) | |
virtual | ~TGHSlider () |
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="") |
TGHSlider (const TGWindow *p=0, UInt_t w=40, UInt_t type=kSlider1|kScaleBoth, Int_t id=-1, UInt_t options=kHorizontalFrame, Pixel_t back=GetDefaultFrameBackground()) | |
virtual | ~TGHSlider () |
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 | fXp |
Definition at line 152 of file TGSlider.h.
TGHSlider::TGHSlider | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 40 , |
|||
UInt_t | type = kSlider1|kScaleBoth , |
|||
Int_t | id = -1 , |
|||
UInt_t | options = kHorizontalFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
TGHSlider::~TGHSlider | ( | ) | [virtual] |
Definition at line 325 of file TGSlider.cxx.
References TGObject::fClient, TGSlider::fDisabledPic, TGClient::FreePicture(), and TGSlider::fSliderPic.
TGHSlider::TGHSlider | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 40 , |
|||
UInt_t | type = kSlider1|kScaleBoth , |
|||
Int_t | id = -1 , |
|||
UInt_t | options = kHorizontalFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
virtual TGHSlider::~TGHSlider | ( | ) | [virtual] |
void TGHSlider::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
Definition at line 334 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 x.
Implements TGSlider.
Definition at line 376 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, fXp, Event_t::fY, gVirtualX, TGWidget::IsEnabled(), kButton1, kButton2, kButtonPress, kButtonPressMask, kButtonReleaseMask, kC_HSLIDER, 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 455 of file TGSlider.cxx.
References TGObject::fClient, TGFrame::HandleConfigureNotify(), kTRUE, and TGClient::NeedRedraw().
Implements TGSlider.
Definition at line 431 of file TGSlider.cxx.
References TGObject::fClient, TGWidget::fCommand, TGSlider::fDragging, TGWidget::fMsgWindow, TGSlider::fPos, TGSlider::fVmax, TGSlider::fVmin, TGWidget::fWidgetId, TGFrame::fWidth, Event_t::fX, fXp, kC_HSLIDER, kSL_POS, kTRUE, MK_MSG(), TGClient::NeedRedraw(), TGSlider::PositionChanged(), TGClient::ProcessLine(), and TGFrame::SendMessage().
virtual TGDimension TGHSlider::GetDefaultSize | ( | ) | const [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 169 of file TGSlider.h.
References TGFrame::fWidth, and kSliderHeight.
Reimplemented from TGFrame.
Definition at line 171 of file TGSlider.h.
References TGFrame::fWidth, and TGFrame::Resize().
Referenced by TH1Editor::CreateBinTab(), TH2Editor::CreateBinTab(), and Resize().
virtual void TGHSlider::Resize | ( | TGDimension | size | ) | [inline, virtual] |
void TGHSlider::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGFrame.
Definition at line 497 of file TGSlider.cxx.
References TGFrame::fBackground, TGWindow::fParent, TGSlider::fPos, TGSlider::fScale, TGSlider::fVmax, TGSlider::fVmin, TGFrame::fWidth, TGFrame::GetDefaultFrameBackground(), TGWindow::GetName(), TGFrame::GetOptions(), TGFrame::GetOptionString(), TGSlider::GetPosition(), TGSlider::GetTypeString(), TGFrame::GetWidth(), TGWidget::IsEnabled(), TGFrame::SaveUserColor(), and TGWidget::WidgetId().
virtual void TGHSlider::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
virtual TGDimension TGHSlider::GetDefaultSize | ( | ) | const [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 169 of file TGSlider.h.
References TGFrame::fWidth, and kSliderHeight.
Reimplemented from TGFrame.
Definition at line 171 of file TGSlider.h.
References TGFrame::fWidth, and TGFrame::Resize().
virtual void TGHSlider::Resize | ( | TGDimension | size | ) | [inline, virtual] |
virtual void TGHSlider::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGFrame.
Int_t TGHSlider::fXp [protected] |