summaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-08-21 18:32:11 +0100
committerCarl Hetherington <cth@carlh.net>2012-08-21 18:32:11 +0100
commite8bb753ea7f1dfe2dac761050f47ea1cb786f01b (patch)
tree514f2e1043e34b5e2233642d075b31fd6d1812f4 /src/types.h
parent3fc1eba823a52603aa58f3df6f08dc4e73309c63 (diff)
Pick up subtitle color.
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h16
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);
}