diff options
Diffstat (limited to 'src/types.h')
| -rw-r--r-- | src/types.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/types.h b/src/types.h index 8c584579..3a50c5d3 100644 --- a/src/types.h +++ b/src/types.h @@ -74,7 +74,21 @@ struct EqualityOptions { double max_mean_pixel_error; double max_std_dev_pixel_error; }; - + +class Color +{ +public: + Color (); + Color (int r_, int g_, int b_); + Color (std::string argb_hex); + + int r; + int g; + int b; +}; + +extern bool operator== (Color const & a, Color const & b); +extern std::ostream & operator<< (std::ostream & s, Color const & c); } |
