src/colors.h

changeset 3
55a55a9ec2c2
child 21
0133e565e072
equal deleted inserted replaced
2:2bdc3ac5e77c 3:55a55a9ec2c2
1 #pragma once
2 #include "main.h"
3
4 struct Color
5 {
6 qint32 index;
7 };
8
9 namespace colors
10 {
11 static constexpr Color black {0};
12 static constexpr Color blue {1};
13 static constexpr Color green {2};
14 static constexpr Color red {4};
15 static constexpr Color yellow {14};
16 static constexpr Color white {15};
17 static constexpr Color main {16};
18 static constexpr Color edge {24};
19 }

mercurial