-
Notifications
You must be signed in to change notification settings - Fork 0
/
Color.h
51 lines (45 loc) · 843 Bytes
/
Color.h
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef color_h
#define color_h
enum ColorType
{
Black,
Blue,
Green,
Cyan,
Red,
Magenta,
Brown,
LightGray,
DarkGray,
LightBlue,
LightGreen,
LightCyan,
LightRed,
LightMagenta,
Yellow,
White
};
struct Color
{
public:
ColorType primary_color;
ColorType secondary_color;
ColorType background_color;
ColorType border_color;
Color()
{
//default values
this->primary_color = ColorType::White;
this->secondary_color = ColorType::White;
this->background_color = ColorType::Black;
this->border_color = ColorType::White;
}
Color(ColorType primary_color, ColorType secondary_color, ColorType background_color, ColorType border_color)
{
this->primary_color = primary_color;
this->secondary_color = secondary_color;
this->background_color = background_color;
this->border_color = border_color;
}
};
#endif