make member variables public to allow using BOOST_FUSION_ADAPT_STRUCT
This commit is contained in:
parent
09250ede96
commit
b99cf8a2ca
1 changed files with 3 additions and 4 deletions
|
@ -36,16 +36,15 @@
|
||||||
|
|
||||||
namespace mapnik {
|
namespace mapnik {
|
||||||
|
|
||||||
class MAPNIK_DECL color
|
class MAPNIK_DECL color : boost::equality_comparable<color>
|
||||||
: boost::equality_comparable<color>
|
|
||||||
{
|
{
|
||||||
private:
|
public:
|
||||||
std::uint8_t red_;
|
std::uint8_t red_;
|
||||||
std::uint8_t green_;
|
std::uint8_t green_;
|
||||||
std::uint8_t blue_;
|
std::uint8_t blue_;
|
||||||
std::uint8_t alpha_;
|
std::uint8_t alpha_;
|
||||||
bool premultiplied_;
|
bool premultiplied_;
|
||||||
public:
|
|
||||||
// default ctor
|
// default ctor
|
||||||
color()
|
color()
|
||||||
: red_(0xff),
|
: red_(0xff),
|
||||||
|
|
Loading…
Reference in a new issue