24 template<
class char_t>
25 std::basic_ostream<char_t>& operator<<(std::basic_ostream<char_t>& os,
const qx::terminal_color& terminalColor);
47 template<
class char_t>
48 friend std::basic_ostream<char_t>& ::operator<<(
49 std::basic_ostream<char_t>& is,
100 color m_Color = color::white();
101 type m_eType = type::reset;
Class for colors manipulating in terminal.
static void test_colors()
Output colors available in qx::color to test if terminal color work.
static constexpr terminal_color reset() noexcept
Reset all colors.
static constexpr terminal_color font(const color &fontColor) noexcept
Set font color.
static constexpr terminal_color back(const color &bgColor) noexcept
Set background color.