blob: 92f61c677a8a4782402b638c813f5b3a74358e03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include "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;
}
}
|