Mon, 23 Sep 2019 14:06:36 +0300
added regular expressions for the parser
3 | 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 | } |