diff options
author | chai <chaifix@163.com> | 2018-11-18 23:31:17 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-11-18 23:31:17 +0800 |
commit | f0f340dec7821cee103ab9267ef941a917ef4dc4 (patch) | |
tree | 2f77f6ce6bdc9f63f002c13d4c261e1d6a9c1729 /src/libjin/graphics/je_color.cpp | |
parent | fc7b4579e49aaeecc81919e247e03f68bd5abfd4 (diff) |
*目录改为小写
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 |