7#ifndef __HDI_CORE_COLOR_WELL__
8#define __HDI_CORE_COLOR_WELL__
10#if defined(HDI_CORE_AIP_MODE)
12#elif defined(HDI_CORE_PSP_MODE)
22 #if defined(HDI_CORE_AIP_MODE)
23 typedef ArtColor PluginColor;
24 #elif defined(HDI_CORE_PSP_MODE)
25 typedef Color PluginColor;
166 typedef std::unique_ptr<ColorWell> ColorWellUP;
167 typedef std::shared_ptr<ColorWell> ColorWellSP;
168 typedef std::weak_ptr<ColorWell> ColorWellWP;
Describes the color of art on the artboard.
Definition: hdicoreArtColor.h:40
Base class for templated __Callback class.
Definition: hdicoreCallback.h:68
Class for color well widgets, which form a clickable square area that represents a color.
Definition: hdicoreColorWell.h:34
virtual ColorWell * duplicate() const
Convenience method to duplicate a ColorWell object, creating a new and identical UI element to the ta...
virtual ColorWell & operator=(const ColorWell &rhs_)
Allows one ColorWell object to be assigned from another.
virtual Callback *const valueChangedCallback() const
Gets the value changed callback for the color well.
virtual PluginColor currentColor() const
Gets the current value of the color well.
ColorWell(const ColorWell &colorwell_)
Constructs a new ColorWell object from an existing ColorWell object (copy constructor)
virtual void valueChanged()
Simulates the color well having its value changed.
virtual void setCurrentColor(const PluginColor &color_)
Sets the current value of the color well.
ColorWell()
Constructs an empty ColorWell object.
virtual ~ColorWell()
ColorWell destructor.
virtual ColorWell * clone() const
Convenience method to clone a ColorWell object on the heap.
virtual void setValueChangedCallback(const Callback &callback_)
Sets the value changed callback.
ColorWell(const Rect &frame_, const PluginColor &color_)
Constructs a color well.
Contains Point and Size objects to describe a rectangle that exists at a specific point of given dime...
Definition: hdicoreRect.h:34
Header file for art color manipulation.
Header file for describing plugin UI colors.