1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
#ifndef COLORS_HPP
#define COLORS_HPP
enum Color
{
black = 0,
dblue, dark_blue = dblue,
dgreen, dark_green = dgreen,
dcyan, dark_cyan = dcyan,
dred, dark_red = dred,
dmagenta, dark_magenta = dmagenta,
dyellow, dark_yellow = dyellow, brown = dyellow,
lgray, light_gray = lgray,
lgrey = lgray, light_grey = lgray,
dgray, dark_gray = dgray,
dgrey = dgray, dark_grey = dgray,
lblue, light_blue = lblue,
lgreen, light_green = lgreen,
lcyan, light_cyan = lcyan,
lred, light_red = lred,
lmagenta, light_magenta = lmagenta,
lyellow, light_yellow = lyellow, yellow = lyellow,
white
};
Color GetBackgroundColor();
Color GetForegroundColor();
void SetColor( Color fg, Color bg );
void SetColor( Color fg );
#endif
|