|
koutil
|
#include "koutil/term/color.h"#include "koutil/util/utils.h"#include <cstddef>#include <ostream>#include <string_view>Go to the source code of this file.
Namespaces | |
| namespace | koutil |
| namespace | koutil::term |
| namespace | koutil::term::color_literals |
Functions | |
| consteval color_t | koutil::term::color_literals::operator""_color (const char *str, std::size_t size) |
| Creates a Color object from a hexadecimal string. | |
| consteval color_bg_t | koutil::term::color_literals::operator""_bg (const char *str, std::size_t size) |
| Creates a ColorBG object from a hexadecimal string. | |
| consteval color_fg_t | koutil::term::color_literals::operator""_fg (const char *str, std::size_t size) |
| Creates a ColorFG object from a hexadecimal string. | |
| std::ostream & | koutil::term::operator<< (std::ostream &stream, color_bg_t bg) |
| std::ostream & | koutil::term::operator<< (std::ostream &stream, color_fg_t fg) |
| std::ostream & | koutil::term::reset_bg (std::ostream &stream) |
| Resets background color to default. | |
| std::ostream & | koutil::term::reset_fg (std::ostream &stream) |
| Resets foreground color to default. | |
| std::ostream & | koutil::term::reset_color (std::ostream &stream) |
| Resets foreground and background color to default. | |