TermOx
msx.hpp
1 #ifndef TERMOX_PAINTER_PALETTE_MSX_HPP
2 #define TERMOX_PAINTER_PALETTE_MSX_HPP
3 #include <termox/painter/color.hpp>
4 
5 namespace ox::msx {
6 
7 inline constexpr auto Black = Color::Background;
8 inline constexpr auto Dark_red = Color{1};
9 inline constexpr auto Dark_green = Color{2};
10 inline constexpr auto Olive = Color{3};
11 inline constexpr auto Blue = Color{4};
12 inline constexpr auto Violet = Color{5};
13 inline constexpr auto Cyan = Color{6};
14 inline constexpr auto Silver = Color{7};
15 inline constexpr auto Indigo = Color{8};
16 inline constexpr auto Red = Color{9};
17 inline constexpr auto Light_green = Color{10};
18 inline constexpr auto Brown = Color{11};
19 inline constexpr auto Light_red = Color{12};
20 inline constexpr auto Green = Color{13};
21 inline constexpr auto White = Color::Foreground;
22 
24 
25 inline auto const palette = Palette{
26  /* clang-format off */
27  {Black, RGB{0x000000}},
28  {Dark_red, RGB{0xb75e51}},
29  {Dark_green, RGB{0x3ca042}},
30  {Olive, RGB{0xcac15e}},
31  {Blue, RGB{0x5955df}},
32  {Violet, RGB{0xb565b3}},
33  {Cyan, RGB{0x64daee}},
34  {Silver, RGB{0xcacaca}},
35  {Indigo, RGB{0x7e75f0}},
36  {Red, RGB{0xd96459}},
37  {Light_green, RGB{0x73ce7c}},
38  {Brown, RGB{0xddce85}},
39  {Light_red, RGB{0xfe877c}},
40  {Green, RGB{0x40b64a}},
41  {White, RGB{0xffffff}},
42  /* clang-format on */
43 };
44 
45 } // namespace ox::msx
46 #endif // TERMOX_PAINTER_PALETTE_MSX_HPP