Hot Door CORE 0.8.4
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
hdicoreArtColorPref.h
Go to the documentation of this file.
1
6
7#ifndef __HDI_CORE_ART_COLOR_PREF__
8#define __HDI_CORE_ART_COLOR_PREF__
9
10#if defined(HDI_CORE_AIP_MODE)
11
12#include "hdicoreArtColor.h"
13#include "hdicorePrefData.h"
14
15namespace hdi
16{
17 namespace core
18 {
22 class ArtColorPref : public PrefData
23 {
24 public:
37
46
58 ArtColorPref(const ArtColor& value_, const std::string& name_ = "");
59
65 virtual ~ArtColorPref();
66
75 virtual ArtColorPref& operator=(const ArtColorPref& rhs_);
76
90 virtual ArtColorPref* clone() const;
91
99 virtual ArtColor artColor() const;
100
109 virtual bool setArtColor(const ArtColor& color_);
110 };
111
112 typedef std::unique_ptr<ArtColorPref> ArtColorPrefUP;
113 typedef std::shared_ptr<ArtColorPref> ArtColorPrefSP;
114 typedef std::weak_ptr<ArtColorPref> ArtColorPrefWP;
115 }
116}
117
118#endif
119// HDI_CORE_AIP_MODE
120
121#endif
122// __HDI_CORE_ART_COLOR_PREF__
Describes the color of art on the artboard.
Definition hdicoreArtColor.h:42
ArtColorPref(const ArtColorPref &ac_)
Constructs a new ArtColorPref object from an existing ArtColorPref object (copy constructor).
virtual bool setArtColor(const ArtColor &color_)
Sets the color for this object.
virtual ArtColorPref * clone() const
Convenience method to clone an ArtColorPref object on the heap.
virtual ~ArtColorPref()
Destructs an ArtColorPref object.
ArtColorPref()
Constructs an empty ArtColorPref object.
virtual ArtColorPref & operator=(const ArtColorPref &rhs_)
Allows one ArtColorPref object to be assigned from another.
ArtColorPref(const ArtColor &value_, const std::string &name_="")
Constructs an ArtColorPref object, with new data, to be added to a container at a later time.
virtual ArtColor artColor() const
Gets the color for this object.
PrefData()
Constructs an empty PrefData object.
Header file for art color manipulation.
Header file for general preference data storage.