7#ifndef __HDI_CORE_COLOR_PREF__
8#define __HDI_CORE_COLOR_PREF__
110 typedef std::unique_ptr<ColorPref> ColorPrefUP;
111 typedef std::shared_ptr<ColorPref> ColorPrefSP;
112 typedef std::weak_ptr<ColorPref> ColorPrefWP;
Describes an RGB color, with opacity, typically for UI purposes.
Definition: hdicoreColor.h:32
Allows for storage of colors.
Definition: hdicoreColorPref.h:21
virtual ColorPref * clone() const
Convenience method to clone an ColorPref object on the heap.
ColorPref(const Color &value_, const std::string &name_="")
Constructs a ColorPref object, with new data, to be added to a container at a later time.
virtual Color color() const
Gets the color for this object.
virtual ~ColorPref()
Destructs a ColorPref object.
ColorPref(const ColorPref &c_)
Constructs a new ColorPref object from an existing ColorPref object (copy constructor)
virtual ColorPref & operator=(const ColorPref &rhs_)
Allows one ColorPref object to be assigned from another.
ColorPref()
Constructs an empty ColorPref object.
virtual bool setColor(const Color &color_)
Sets the color for this object.
Base class for persistent data objects, stored via JSON.
Definition: hdicorePrefData.h:25
Header file for describing plugin UI colors.
Header file for general preference data storage.