2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-25 18:32:24 +00:00
Files
python/pyste/tests/vars.h
Bruno da Silva de Oliveira d52f0c7d40 - New tests
[SVN r18629]
2003-05-31 21:18:09 +00:00

20 lines
378 B
C

struct Color
{
Color(int r_ = 0, int g_ = 0, int b_ = 0):
r(r_), g(g_), b(b_)
{}
Color( const Color &c):
r(c.r), g(c.g), b(c.b)
{}
int r;
int g;
int b;
};
const Color black = Color(0, 0, 0);
const Color red = Color(255, 0, 0);
const Color green = Color(0, 255, 0);
const Color blue = Color(0, 0, 255);
Color in_use = black;