]> git.tdb.fi Git - poefilter.git/blobdiff - source/color.cpp
Revamp appearance definitions
[poefilter.git] / source / color.cpp
diff --git a/source/color.cpp b/source/color.cpp
new file mode 100644 (file)
index 0000000..a7d8330
--- /dev/null
@@ -0,0 +1,15 @@
+#include "color.h"
+
+Color::Color():
+       defined(false),
+       r(0),
+       g(0),
+       b(0)
+{ }
+
+Color::Color(unsigned r_, unsigned g_, unsigned b_):
+       defined(true),
+       r(r_),
+       g(g_),
+       b(b_)
+{ }