TermOx
gameboy.hpp
1 #ifndef TERMOX_PAINTER_PALETTE_GAMEBOY_HPP
2 #define TERMOX_PAINTER_PALETTE_GAMEBOY_HPP
3 #include <termox/painter/color.hpp>
4 
5 namespace ox::gameboy {
6 
7 inline constexpr auto Green_1 = Color::Background;
8 inline constexpr auto Green_2 = Color{2};
9 inline constexpr auto Green_3 = Color{3};
10 inline constexpr auto Green_4 = Color::Foreground;
11 
13 inline auto const palette = Palette{
14  /* clang-format off */
15  {Green_1, RGB{0x0f380f}},
16  {Green_2, RGB{0x306230}},
17  {Green_3, RGB{0x8bac0f}},
18  {Green_4, RGB{0x9bbc0f}},
19  /* clang-format on */
20 };
21 
22 } // namespace ox::gameboy
23 #endif // TERMOX_PAINTER_PALETTE_GAMEBOY_HPP