|
stc
|
Go to the source code of this file.
Classes | |
| struct | stc::colour::_detail::Colouriser< Mode > |
Namespaces | |
| namespace | stc::colour |
| Module for ANSI colours. | |
| namespace | stc |
| namespace | stc::colour::_detail |
Typedefs | |
| using | stc::colour::FgColour = _detail::Colouriser< _detail::FOREGROUND > |
| using | stc::colour::BgColour = _detail::Colouriser< _detail::BACKGROUND > |
Enumerations | |
| enum class | stc::colour::FourBitColour { stc::colour::BLACK = 30 , stc::colour::RED = 31 , stc::colour::GREEN = 32 , stc::colour::YELLOW = 33 , stc::colour::BLUE = 34 , stc::colour::MAGENTA = 35 , stc::colour::CYAN = 36 , stc::colour::WHITE = 37 , stc::colour::BRIGHT_BLACK = 90 , stc::colour::BRIGHT_RED = 91 , stc::colour::BRIGHT_GREEN = 92 , stc::colour::BRIGHT_YELLOW = 93 , stc::colour::BRIGHT_BLUE = 94 , stc::colour::BRIGHT_MAGENTA = 95 , stc::colour::BRIGHT_CYAN = 96 , stc::colour::BRIGHT_WHITE = 97 } |
| enum class | stc::colour::Typography { stc::colour::BOLD = 1 , stc::colour::FAINT = 2 , stc::colour::ITALIC = 3 , stc::colour::UNDERLINE = 4 , stc::colour::SLOW_BLINK = 5 , stc::colour::RESET_INTENSITY = 22 , stc::colour::NO_ITALIC = 23 , stc::colour::NO_UNDERLINE = 24 , stc::colour::NO_BLINKING = 25 } |
Functions | |
| int | stc::colour::_detail::getStreamConfigIdx () |
| template<typename CharT > | |
| static bool | stc::colour::_detail::shouldPrintColour (std::basic_ostream< CharT > &ss) |
| template<Typography feature, typename CharT > | |
| static constexpr std::basic_ostream< CharT > & | stc::colour::use (std::basic_ostream< CharT > &stream) |
| template<bool val = true, typename CharT > | |
| static constexpr std::basic_ostream< CharT > & | stc::colour::force (std::basic_ostream< CharT > &stream) |
| template<typename CharT > | |
| static constexpr std::basic_ostream< CharT > & | stc::colour::reset (std::basic_ostream< CharT > &stream) |
| template<FourBitColour Colour, typename CharT > | |
| static constexpr std::basic_ostream< CharT > & | stc::colour::fg (std::basic_ostream< CharT > &stream) |
| template<uint8_t r, uint8_t g, uint8_t b, typename CharT > | |
| static constexpr std::basic_ostream< CharT > & | stc::colour::fg (std::basic_ostream< CharT > &stream) |
| template<FourBitColour Colour, typename CharT > | |
| static constexpr std::basic_ostream< CharT > & | stc::colour::bg (std::basic_ostream< CharT > &stream) |
| template<uint8_t r, uint8_t g, uint8_t b, typename CharT > | |
| static constexpr std::basic_ostream< CharT > & | stc::colour::bg (std::basic_ostream< CharT > &stream) |
Variables | |
| const int | stc::colour::_detail::FOREGROUND = 38 |
| const int | stc::colour::_detail::BACKGROUND = 48 |
| const int | stc::colour::_detail::MODE_AUTO = 0 |
| const int | stc::colour::_detail::MODE_FORCE = 1 |