#include <TGSlider.h>
Inheritance diagram for TGSlider:
Public Member Functions | |
TGSlider (const TGWindow *p=0, UInt_t w=1, UInt_t h=1, UInt_t type=kSlider1|kScaleBoth, Int_t id=-1, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()) | |
virtual | ~TGSlider () |
virtual Bool_t | HandleButton (Event_t *event)=0 |
virtual Bool_t | HandleConfigureNotify (Event_t *event)=0 |
virtual Bool_t | HandleMotion (Event_t *event)=0 |
virtual void | SetEnabled (Bool_t flag=kTRUE) |
virtual void | SetState (Bool_t state) |
virtual void | SetScale (Int_t scale) |
virtual void | SetRange (Int_t min, Int_t max) |
virtual void | SetPosition (Int_t pos) |
virtual Int_t | GetPosition () const |
virtual Int_t | GetMinPosition () const |
virtual Int_t | GetMaxPosition () const |
virtual Int_t | GetScale () const |
virtual void | MapSubwindows () |
virtual void | ChangeSliderPic (const char *name) |
virtual void | PositionChanged (Int_t pos) |
virtual void | Pressed () |
virtual void | Released () |
TGSlider (const TGWindow *p=0, UInt_t w=1, UInt_t h=1, UInt_t type=kSlider1|kScaleBoth, Int_t id=-1, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()) | |
virtual | ~TGSlider () |
virtual Bool_t | HandleButton (Event_t *event)=0 |
virtual Bool_t | HandleConfigureNotify (Event_t *event)=0 |
virtual Bool_t | HandleMotion (Event_t *event)=0 |
virtual void | SetEnabled (Bool_t flag=kTRUE) |
virtual void | SetState (Bool_t state) |
virtual void | SetScale (Int_t scale) |
virtual void | SetRange (Int_t min, Int_t max) |
virtual void | SetPosition (Int_t pos) |
virtual Int_t | GetPosition () const |
virtual Int_t | GetMinPosition () const |
virtual Int_t | GetMaxPosition () const |
virtual Int_t | GetScale () const |
virtual void | MapSubwindows () |
virtual void | ChangeSliderPic (const char *name) |
virtual void | PositionChanged (Int_t pos) |
virtual void | Pressed () |
virtual void | Released () |
Protected Member Functions | |
TString | GetTypeString () const |
virtual void | CreateDisabledPicture () |
TString | GetTypeString () const |
virtual void | CreateDisabledPicture () |
Protected Attributes | |
Int_t | fPos |
Int_t | fRelPos |
Int_t | fVmin |
Int_t | fVmax |
Int_t | fType |
Int_t | fScale |
Bool_t | fDragging |
const TGPicture * | fSliderPic |
const TGPicture * | fDisabledPic |
const TGPicture * | fSliderPic |
const TGPicture * | fDisabledPic |
Private Member Functions | |
TGSlider (const TGSlider &) | |
TGSlider & | operator= (const TGSlider &) |
TGSlider (const TGSlider &) | |
TGSlider & | operator= (const TGSlider &) |
Definition at line 70 of file TGSlider.h.
TGSlider::TGSlider | ( | const TGSlider & | ) | [private] |
TGSlider::TGSlider | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 1 , |
|||
UInt_t | h = 1 , |
|||
UInt_t | type = kSlider1|kScaleBoth , |
|||
Int_t | id = -1 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
virtual TGSlider::~TGSlider | ( | ) | [inline, virtual] |
Definition at line 96 of file TGSlider.h.
TGSlider::TGSlider | ( | const TGSlider & | ) | [private] |
TGSlider::TGSlider | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 1 , |
|||
UInt_t | h = 1 , |
|||
UInt_t | type = kSlider1|kScaleBoth , |
|||
Int_t | id = -1 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
virtual TGSlider::~TGSlider | ( | ) | [inline, virtual] |
Definition at line 96 of file TGSlider.h.
TString TGSlider::GetTypeString | ( | ) | const [protected] |
Definition at line 465 of file TGSlider.cxx.
References fType, kScaleBoth, kScaleDownRight, kScaleNo, kSlider2, and stype.
Referenced by TGVSlider::SavePrimitive(), and TGHSlider::SavePrimitive().
void TGSlider::CreateDisabledPicture | ( | ) | [protected, virtual] |
Definition at line 80 of file TGSlider.cxx.
References TImage::Create(), TString::Data(), TGObject::fClient, fDisabledPic, TImage::FillRectangle(), fSliderPic, gEnv, TGPicture::GetHeight(), TGPicture::GetMask(), TGPicture::GetName(), TGPicturePool::GetPicture(), TGPicture::GetPicture(), TGClient::GetPicturePool(), TImage::GetPixmap(), TEnv::GetValue(), TGPicture::GetWidth(), mask, TImage::Merge(), and name.
Referenced by TGVSlider::DoRedraw(), and TGHSlider::DoRedraw().
Reimplemented from TGFrame.
Reimplemented from TGFrame.
Reimplemented from TGFrame.
void TGSlider::SetState | ( | Bool_t | state | ) | [virtual] |
Definition at line 105 of file TGSlider.cxx.
References TGWidget::ClearFlags(), TGObject::fClient, kWidgetIsEnabled, TGClient::NeedRedraw(), and TGWidget::SetFlags().
Referenced by SetEnabled().
virtual void TGSlider::SetScale | ( | Int_t | scale | ) | [inline, virtual] |
Definition at line 104 of file TGSlider.h.
References fScale.
Referenced by TH1Editor::CreateBinTab(), and TH2Editor::CreateBinTab().
Definition at line 105 of file TGSlider.h.
Referenced by TH1Editor::CreateBinTab(), TH2Editor::CreateBinTab(), TGLPShapeObjEditor::CreateColorSliders(), TGL5DDataSetEditor::CreateIsoTab(), TH2Editor::DoApply(), TH1Editor::DoApply(), TEveGValuator::SetLimits(), TParallelCoordEditor::SetModel(), TH1Editor::SetModel(), TH2Editor::SetModel(), SliderWindow::SliderWindow(), TestSliders::TestSliders(), and TParallelCoordEditor::TParallelCoordEditor().
virtual void TGSlider::SetPosition | ( | Int_t | pos | ) | [inline, virtual] |
Definition at line 106 of file TGSlider.h.
References TGObject::fClient, fPos, and TGClient::NeedRedraw().
Referenced by TH1Editor::CreateBinTab(), TH2Editor::CreateBinTab(), TGLPShapeObjEditor::CreateColorSliders(), TH2Editor::DoApply(), TH1Editor::DoApply(), TH1Editor::DoBinLabel(), TH2Editor::DoBinLabel(), TH1Editor::DoBinMoved(), TH2Editor::DoBinMoved(), TH2Editor::DoBinOffset(), TH1Editor::DoBinOffset(), TH2Editor::DoBinReleased(), TH1Editor::DoBinReleased(), TH1Editor::DoBinReleased1(), TH2Editor::DoBinReleased1(), TH2Editor::DoCancel(), TH1Editor::DoCancel(), TParallelCoordEditor::DoDotsSpacingField(), TestSliders::DoText(), TEveGValuator::EntryCallback(), TestSliders::ProcessMessage(), TGLPShapeObjEditor::SetColorSlidersPos(), TParallelCoordEditor::SetModel(), TH1Editor::SetModel(), TH2Editor::SetModel(), TGLPShapeObjEditor::SetRGBA(), TEveGValuator::SetValue(), and TGL5DDataSetEditor::SurfaceSelected().
virtual Int_t TGSlider::GetPosition | ( | ) | const [inline, virtual] |
Definition at line 107 of file TGSlider.h.
References fPos.
Referenced by TH1Editor::DoBinLabel1(), TH2Editor::DoBinLabel1(), TH2Editor::DoBinMoved(), TH2Editor::DoBinMoved1(), TH1Editor::DoBinMoved1(), TH2Editor::DoBinOffset(), TH1Editor::DoBinOffset(), TH2Editor::DoBinReleased(), TH1Editor::DoBinReleased(), TH1Editor::DoBinReleased1(), TH2Editor::DoBinReleased1(), TParallelCoordEditor::DoDotsSpacing(), TH2Editor::DoOffsetMoved(), TH1Editor::DoOffsetReleased(), TH2Editor::DoOffsetReleased(), TGVSlider::SavePrimitive(), TGHSlider::SavePrimitive(), TH1Editor::SetModel(), TH2Editor::SetModel(), and TEveGValuator::SliderCallback().
virtual Int_t TGSlider::GetMinPosition | ( | ) | const [inline, virtual] |
virtual Int_t TGSlider::GetMaxPosition | ( | ) | const [inline, virtual] |
Definition at line 109 of file TGSlider.h.
References fVmax.
Referenced by TH2Editor::DoApply(), TH1Editor::DoApply(), TH1Editor::SetModel(), and TH2Editor::SetModel().
virtual Int_t TGSlider::GetScale | ( | ) | const [inline, virtual] |
virtual void TGSlider::MapSubwindows | ( | ) | [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 111 of file TGSlider.h.
References TGWindow::MapSubwindows().
virtual void TGSlider::ChangeSliderPic | ( | const char * | name | ) | [inline, virtual] |
Definition at line 112 of file TGSlider.h.
References TGObject::fClient, TGClient::FreePicture(), fSliderPic, and TGClient::GetPicture().
virtual void TGSlider::PositionChanged | ( | Int_t | pos | ) | [inline, virtual] |
Definition at line 117 of file TGSlider.h.
References TQObject::Emit().
Referenced by TGHSlider::HandleButton(), TGVSlider::HandleButton(), TGHSlider::HandleMotion(), and TGVSlider::HandleMotion().
virtual void TGSlider::Pressed | ( | ) | [inline, virtual] |
Definition at line 118 of file TGSlider.h.
References TQObject::Emit().
Referenced by TGHSlider::HandleButton(), and TGVSlider::HandleButton().
virtual void TGSlider::Released | ( | ) | [inline, virtual] |
Definition at line 119 of file TGSlider.h.
References TQObject::Emit().
Referenced by TGHSlider::HandleButton(), and TGVSlider::HandleButton().
TString TGSlider::GetTypeString | ( | ) | const [protected] |
virtual void TGSlider::CreateDisabledPicture | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
Reimplemented from TGFrame.
Reimplemented from TGFrame.
virtual void TGSlider::SetState | ( | Bool_t | state | ) | [virtual] |
virtual void TGSlider::SetScale | ( | Int_t | scale | ) | [inline, virtual] |
virtual void TGSlider::SetPosition | ( | Int_t | pos | ) | [inline, virtual] |
Definition at line 106 of file TGSlider.h.
References TGObject::fClient, fPos, and TGClient::NeedRedraw().
virtual Int_t TGSlider::GetPosition | ( | ) | const [inline, virtual] |
virtual Int_t TGSlider::GetMinPosition | ( | ) | const [inline, virtual] |
virtual Int_t TGSlider::GetMaxPosition | ( | ) | const [inline, virtual] |
virtual Int_t TGSlider::GetScale | ( | ) | const [inline, virtual] |
virtual void TGSlider::MapSubwindows | ( | ) | [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 111 of file TGSlider.h.
References TGWindow::MapSubwindows().
virtual void TGSlider::ChangeSliderPic | ( | const char * | name | ) | [inline, virtual] |
Definition at line 112 of file TGSlider.h.
References TGObject::fClient, TGClient::FreePicture(), fSliderPic, and TGClient::GetPicture().
virtual void TGSlider::PositionChanged | ( | Int_t | pos | ) | [inline, virtual] |
virtual void TGSlider::Pressed | ( | ) | [inline, virtual] |
virtual void TGSlider::Released | ( | ) | [inline, virtual] |
Int_t TGSlider::fPos [protected] |
Definition at line 73 of file TGSlider.h.
Referenced by TGVSlider::DoRedraw(), TGHSlider::DoRedraw(), GetPosition(), TGHSlider::HandleButton(), TGVSlider::HandleButton(), TGHSlider::HandleMotion(), TGVSlider::HandleMotion(), TGVSlider::SavePrimitive(), TGHSlider::SavePrimitive(), and SetPosition().
Int_t TGSlider::fRelPos [protected] |
Definition at line 74 of file TGSlider.h.
Referenced by TGVSlider::DoRedraw(), TGHSlider::DoRedraw(), TGHSlider::HandleButton(), and TGVSlider::HandleButton().
Int_t TGSlider::fVmin [protected] |
Definition at line 75 of file TGSlider.h.
Referenced by TGVSlider::DoRedraw(), TGHSlider::DoRedraw(), GetMinPosition(), TGHSlider::HandleButton(), TGVSlider::HandleButton(), TGHSlider::HandleMotion(), TGVSlider::HandleMotion(), TGVSlider::SavePrimitive(), TGHSlider::SavePrimitive(), and SetRange().
Int_t TGSlider::fVmax [protected] |
Definition at line 76 of file TGSlider.h.
Referenced by TGVSlider::DoRedraw(), TGHSlider::DoRedraw(), GetMaxPosition(), TGHSlider::HandleButton(), TGVSlider::HandleButton(), TGHSlider::HandleMotion(), TGVSlider::HandleMotion(), TGVSlider::SavePrimitive(), TGHSlider::SavePrimitive(), and SetRange().
Int_t TGSlider::fType [protected] |
Definition at line 77 of file TGSlider.h.
Referenced by TGVSlider::DoRedraw(), TGHSlider::DoRedraw(), and GetTypeString().
Int_t TGSlider::fScale [protected] |
Definition at line 78 of file TGSlider.h.
Referenced by TGVSlider::DoRedraw(), TGHSlider::DoRedraw(), GetScale(), TGVSlider::SavePrimitive(), TGHSlider::SavePrimitive(), and SetScale().
Bool_t TGSlider::fDragging [protected] |
Definition at line 79 of file TGSlider.h.
Referenced by TGHSlider::HandleButton(), TGVSlider::HandleButton(), TGHSlider::HandleMotion(), and TGVSlider::HandleMotion().
const TGPicture* TGSlider::fSliderPic [protected] |
Definition at line 80 of file TGSlider.h.
Referenced by ChangeSliderPic(), CreateDisabledPicture(), TGVSlider::DoRedraw(), TGHSlider::DoRedraw(), TGHSlider::~TGHSlider(), and TGVSlider::~TGVSlider().
const TGPicture* TGSlider::fDisabledPic [protected] |
Definition at line 81 of file TGSlider.h.
Referenced by CreateDisabledPicture(), TGVSlider::DoRedraw(), TGHSlider::DoRedraw(), TGHSlider::~TGHSlider(), and TGVSlider::~TGVSlider().
const TGPicture* TGSlider::fSliderPic [protected] |
Definition at line 80 of file TGSlider.h.
const TGPicture* TGSlider::fDisabledPic [protected] |
Definition at line 81 of file TGSlider.h.