blob: 207434ede4a00d18f93300057ad0baa8d07b6f54 (
plain)
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
|
#pragma once
namespace crepe::api {
class Color {
public:
Color(double red, double green, double blue, double alpha);
static const Color & get_white();
static const Color & get_red();
static const Color & get_green();
static const Color & get_blue();
static const Color & get_cyan();
static const Color & get_magenta();
static const Color & get_yellow();
static const Color & get_black();
private:
double r;
double g;
double b;
double a;
static Color white;
static Color red;
static Color green;
static Color blue;
static Color cyan;
static Color magenta;
static Color yellow;
static Color black;
};
} // namespace crepe::api
|