]> git.tdb.fi Git - poefilter.git/blob - source/color.cpp
Add alpha channel support for colors
[poefilter.git] / source / color.cpp
1 #include "color.h"
2
3 Color::Color():
4         defined(false),
5         r(0),
6         g(0),
7         b(0),
8         a(0)
9 { }
10
11 Color::Color(unsigned r_, unsigned g_, unsigned b_, unsigned a_):
12         defined(true),
13         r(r_),
14         g(g_),
15         b(b_),
16         a(a_)
17 { }