7#ifndef __HDI_CORE_SLIDER__
8#define __HDI_CORE_SLIDER__
54 Slider(
const Point& loc_,
const double value_,
const double width_);
146 typedef std::unique_ptr<Slider> SliderUP;
147 typedef std::shared_ptr<Slider> SliderSP;
148 typedef std::weak_ptr<Slider> SliderWP;
Base class for templated __Callback class.
Definition: hdicoreCallback.h:68
Describes a point in the 2-dimensional (x,y) coordinate system, typically in an Illustrator document ...
Definition: hdicorePoint.h:38
Slider widget, which has a sliding interface to allow for arbitrary value selections from 0....
Definition: hdicoreSlider.h:22
virtual Slider * clone() const
Convenience method to clone a Slider object on the heap.
Slider(const Slider &slider_)
Constructs a new Slider object from an existing Slider object (copy constructor)
virtual void setValue(const double value_)
Sets the current value of the slider.
Slider(const Point &loc_, const double value_, const double width_)
Constructs a slider.
virtual Callback *const valueChangingCallback() const
Gets the value changing callback for the slider.
Slider()
Constructs an empty Slider object.
virtual Slider & operator=(const Slider &rhs_)
Allows one Slider object to be assigned from another.
virtual double value() const
Gets the current value of the slider.
virtual void setValueChangingCallback(const Callback &callback_)
Sets the value changing callback.
virtual ~Slider()
Slider destructor.
virtual void valueChanging()
Simulates the value of the slider changing.
virtual Slider * duplicate() const
Convenience method to duplicate a Slider object, creating a new and identical UI element to the targe...