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