diff options
Diffstat (limited to 'src/libjin/graphics/je_color.cpp')
-rw-r--r-- | src/libjin/graphics/je_color.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/libjin/graphics/je_color.cpp b/src/libjin/graphics/je_color.cpp new file mode 100644 index 0000000..c939a1d --- /dev/null +++ b/src/libjin/graphics/je_color.cpp @@ -0,0 +1,22 @@ +#include "je_color.h" + +namespace JinEngine +{ + namespace Graphics + { + + const Color Color::WHITE = Color(255, 255, 255); + const Color Color::BLACK = Color(0, 0, 0); + const Color Color::RED = Color(255, 0, 0); + const Color Color::GREEN = Color(0, 255, 0); + const Color Color::BLUE = Color(0, 0, 255); + const Color Color::MAGENTA = Color(255, 0, 255); + const Color Color::YELLOW = Color(255, 255, 0); + + const uint32 Color::RMASK = 0x000000ff; + const uint32 Color::GMASK = 0x0000ff00; + const uint32 Color::BMASK = 0x00ff0000; + const uint32 Color::AMASK = 0xff000000; + + } +}
\ No newline at end of file |