|
void | CppUtilities::EscapeCodes::setStyle (std::ostream &stream, TextAttribute displayAttribute=TextAttribute::Reset) |
|
void | CppUtilities::EscapeCodes::setStyle (std::ostream &stream, Color color, ColorContext context=ColorContext::Foreground, TextAttribute displayAttribute=TextAttribute::Reset) |
|
void | CppUtilities::EscapeCodes::setStyle (std::ostream &stream, Color foregroundColor, Color backgroundColor, TextAttribute displayAttribute=TextAttribute::Reset) |
|
void | CppUtilities::EscapeCodes::resetStyle (std::ostream &stream) |
|
void | CppUtilities::EscapeCodes::setCursor (std::ostream &stream, unsigned int row=0, unsigned int col=0) |
|
void | CppUtilities::EscapeCodes::moveCursor (std::ostream &stream, unsigned int cells, Direction direction) |
|
void | CppUtilities::EscapeCodes::saveCursor (std::ostream &stream) |
|
void | CppUtilities::EscapeCodes::restoreCursor (std::ostream &stream) |
|
void | CppUtilities::EscapeCodes::eraseDisplay (std::ostream &stream) |
|
void | CppUtilities::EscapeCodes::eraseLine (std::ostream &stream) |
|
std::ostream & | CppUtilities::EscapeCodes::operator<< (std::ostream &stream, TextAttribute displayAttribute) |
|
constexpr auto | CppUtilities::EscapeCodes::color (Color foreground, Color background, TextAttribute displayAttribute=TextAttribute::Reset) |
|
constexpr auto | CppUtilities::EscapeCodes::color (Color foreground, ColorContext context, TextAttribute displayAttribute=TextAttribute::Reset) |
|
template<typename TupleType , Traits::EnableIfAny< std::is_same< TupleType, std::tuple< Color, Color, TextAttribute > >, std::is_same< TupleType, std::tuple< Color, ColorContext, TextAttribute > > > * = nullptr> |
std::ostream & | CppUtilities::EscapeCodes::operator<< (std::ostream &stream, TupleType displayAttribute) |
|
CPP_UTILITIES_EXPORT std::ostream & | CppUtilities::EscapeCodes::operator<< (std::ostream &stream, Phrases phrase) |
| Prints the specified phrase in a formatted manner using ANSI escape codes.
|
|
CPP_UTILITIES_EXPORT std::string_view | CppUtilities::EscapeCodes::phraseString (Phrases phrase) |
| Returns a string for the specified phrase without formatting.
|
|
CPP_UTILITIES_EXPORT std::string_view | CppUtilities::EscapeCodes::formattedPhraseString (Phrases phrase) |
| Returns a string for the specified phrase which is formatted using ANSI escape codes.
|
|