121 :
TPad(
name,title,0.1,0.1,0.9,0.9,color,bordersize,bordermode)
173 if (
gROOT->ClassSaved(TSlider::Class())) {
178 out<<
"slider = new TSlider("<<quote<<
GetName()<<quote<<
", "<<quote<<
GetTitle()
190 out<<
" slider->SetBorderSize("<<
GetBorderSize()<<
");"<<std::endl;
193 out<<
" slider->SetBorderMode("<<
GetBorderMode()<<
");"<<std::endl;
197 out<<
" slider->SetMethod("<<quote<<
GetMethod()<<quote<<
");"<<std::endl;
200 out<<
" "<<padsav->
GetName()<<
"->cd();"<<std::endl;
static const double x2[5]
static const double x1[5]
virtual void SaveFillAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001)
Save fill attributes as C++ statement(s) on output stream out.
virtual void SaveLineAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
Save line attributes as C++ statement(s) on output stream out.
virtual void SetY2(Double_t y2)
virtual void SetX1(Double_t x1)
virtual void SetX2(Double_t x2)
virtual void SetY1(Double_t y1)
virtual void Add(TObject *obj)
virtual TObject * FindObject(const char *name) const
Find an object in this list using its name.
virtual void AppendPad(Option_t *option="")
Append graphics object to current pad.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
@ kCanDelete
if object in a list can be deleted
The most important graphics class in the ROOT system.
Short_t GetBorderMode() const override
Double_t fWNDC
Width of pad along X in Normalized Coordinates (NDC)
Double_t fAbsWNDC
Absolute Width of pad along X in NDC.
const char * GetTitle() const override
Returns title of object.
void SetPad(const char *name, const char *title, Double_t xlow, Double_t ylow, Double_t xup, Double_t yup, Color_t color=35, Short_t bordersize=5, Short_t bordermode=-1) override
Set all pad parameters.
void Range(Double_t x1, Double_t y1, Double_t x2, Double_t y2) override
Set world coordinate system for the pad.
Double_t fYlowNDC
Y bottom left corner of pad in NDC [0,1].
Double_t PixeltoX(Int_t px) override
void Modified(Bool_t flag=1) override
Double_t fAbsHNDC
Absolute Height of pad along Y in NDC.
Short_t GetBorderSize() const override
TList * fPrimitives
->List of primitives (subpads)
void Paint(Option_t *option="") override
Paint all primitives in pad.
TVirtualPad * cd(Int_t subpadnumber=0) override
Set Current pad.
Double_t PixeltoY(Int_t py) override
Double_t fHNDC
Height of pad along Y in Normalized Coordinates (NDC)
Double_t fXlowNDC
X bottom left corner of pad in NDC [0,1].
Double_t GetX1() const override
const char * GetName() const override
Returns name of object.
The moving box in a TSlider.
void SetSlider(TSlider *slider)
A specialized TPad including a TSliderBox object.
TSlider()
slider default constructor.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
TObject * fObject
!Pointer to associated object
virtual const char * GetMethod() const
Double_t fMaximum
Slider maximum value in [0,1].
virtual void Paint(Option_t *option="")
Paint this slider with its current attributes.
virtual ~TSlider()
slider default destructor.
virtual void SetRange(Double_t xmin=0, Double_t xmax=1)
Set Slider range in [0,1].
Double_t fMinimum
Slider minimum value in [0,1].
TString fMethod
command to be executed when slider is changed