12 #ifndef ROOT_TGDoubleSlider
13 #define ROOT_TGDoubleSlider
virtual ~TGDoubleHSlider()
Delete a horizontal slider widget.
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
virtual void DoRedraw()
Redraw horizontal slider widget.
virtual Bool_t HandleMotion(Event_t *event)
Handle mouse motion event in vertical slider.
virtual void MapSubwindows()
TGDoubleVSlider(const TGWindow *p=0, UInt_t h=1, UInt_t type=1, Int_t id=-1, UInt_t options=kVerticalFrame, Pixel_t back=GetDefaultFrameBackground(), Bool_t reversed=kFALSE, Bool_t mark_ends=kFALSE)
Create a vertical slider widget.
virtual void SetRange(Float_t min, Float_t max)
TGDoubleSlider(const TGDoubleSlider &)
virtual void DoRedraw()
Redraw vertical slider widget.
virtual Bool_t HandleButton(Event_t *event)=0
#define ClassDef(name, id)
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save an horizontal slider as a C++ statement(s) on output stream out.
void Emit(const char *signal)
Acitvate signal without args.
const TGPicture * fSliderPic
TGDoubleHSlider(const TGWindow *p=0, UInt_t w=1, UInt_t type=1, Int_t id=-1, UInt_t options=kHorizontalFrame, Pixel_t back=GetDefaultFrameBackground(), Bool_t reversed=kFALSE, Bool_t mark_ends=kFALSE)
Create horizontal slider widget.
virtual TGDimension GetDefaultSize() const
std::cout << fWidth << "x" << fHeight << std::endl;
virtual ~TGDoubleVSlider()
Delete vertical slider widget.
virtual void GetPosition(Float_t &min, Float_t &max) const
virtual ~TGDoubleSlider()
static void FixBounds(Float_t &min, Float_t &max)
Avoid boundaries to be equal.
virtual Bool_t HandleMotion(Event_t *event)
Handle mouse motion event in horizontal slide widget.
TString GetSString() const
Returns the slider type as a string - used in SavePrimitive()
virtual Bool_t HandleButton(Event_t *event)
Handle mouse button event in vertical slider.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save an horizontal slider as a C++ statement(s) on output stream out.
virtual void GetPosition(Float_t *min, Float_t *max) const
void ChangeCursor(Event_t *event)
Change the cursor shape depending on the slider area.
virtual Bool_t HandleMotion(Event_t *event)=0
virtual void MapSubwindows()
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
virtual Bool_t HandleButton(Event_t *event)
Handle mouse button event in horizontal slider widget.
virtual void SetPosition(Float_t min, Float_t max)
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags.
virtual Float_t GetMinPosition() const
virtual void SetScale(Int_t scale)
TGDoubleSlider & operator=(const TGDoubleSlider &)
virtual Float_t GetMaxPosition() const
virtual TGDimension GetDefaultSize() const
std::cout << fWidth << "x" << fHeight << std::endl;
virtual void PositionChanged()