7#ifndef __HDI_CORE_DIVIDER__
8#define __HDI_CORE_DIVIDER__
133 virtual std::string
text()
const;
161 typedef std::unique_ptr<Divider> DividerUP;
162 typedef std::shared_ptr<Divider> DividerSP;
163 typedef std::weak_ptr<Divider> DividerWP;
Divider class for UI divider lines.
Definition: hdicoreDivider.h:20
Divider()
Constructs an empty Divider object.
virtual void setText(const std::string &)
Prevents setting the text, as dividers cannot have text.
virtual Type type() const
Returns DividerType, as dividers are always dividers!
virtual Direction direction() const
Gets the direction that the line is going.
virtual bool enabled()
Returns true, because dividers are always enabled.
virtual ~Divider()
Divider destructor.
virtual Divider & operator=(const Divider &rhs_)
Allows one Divider object to be assigned from another.
Divider(const Point &loc_, const double length_, const Direction dir_=Horizontal)
Constructs a divider line widget.
Direction
Describes the direction of the line in a Divider object.
Definition: hdicoreDivider.h:26
virtual std::string text() const
Always gets "", as dividers cannot have text.
virtual Divider * duplicate() const
Convenience method to duplicate a Divider object, creating a new and identical UI element to the targ...
virtual Divider * clone() const
Convenience method to clone a Divider object on the heap.
virtual void setEnabled(const bool enable_)
Overrides Widget::setEnabled() because dividers are always enabled.
Divider(const Divider &div_)
Constructs a new Divider object from an existing Divider object (copy constructor)
Describes a point in the 2-dimensional (x,y) coordinate system, typically in an Illustrator document ...
Definition: hdicorePoint.h:38