|
PACS System 0.1.0
PACS DICOM system library
|
ANSI escape codes for terminal colors. More...
Variables | |
| constexpr const char * | reset = "\033[0m" |
| Reset all formatting. | |
| constexpr const char * | bold = "\033[1m" |
| Bold text. | |
| constexpr const char * | dim = "\033[2m" |
| Dim/faint text. | |
| constexpr const char * | black = "\033[30m" |
| Standard colors. | |
| constexpr const char * | red = "\033[31m" |
| constexpr const char * | green = "\033[32m" |
| constexpr const char * | yellow = "\033[33m" |
| constexpr const char * | blue = "\033[34m" |
| constexpr const char * | magenta = "\033[35m" |
| constexpr const char * | cyan = "\033[36m" |
| constexpr const char * | white = "\033[37m" |
| constexpr const char * | bright_red = "\033[91m" |
| Bright/bold colors. | |
| constexpr const char * | bright_green = "\033[92m" |
| constexpr const char * | bright_yellow = "\033[93m" |
| constexpr const char * | bright_blue = "\033[94m" |
| constexpr const char * | bright_magenta = "\033[95m" |
| constexpr const char * | bright_cyan = "\033[96m" |
| constexpr const char * | bright_white = "\033[97m" |
| constexpr const char * | bg_red = "\033[41m" |
| Background colors. | |
| constexpr const char * | bg_green = "\033[42m" |
| constexpr const char * | bg_yellow = "\033[43m" |
| constexpr const char * | bg_blue = "\033[44m" |
ANSI escape codes for terminal colors.
These codes work on most modern terminals including:
For older Windows cmd.exe, colors may not display correctly.
|
constexpr |
Definition at line 67 of file console_utils.h.
|
constexpr |
Definition at line 65 of file console_utils.h.
|
constexpr |
Background colors.
Definition at line 64 of file console_utils.h.
|
constexpr |
Definition at line 66 of file console_utils.h.
|
constexpr |
Standard colors.
Definition at line 45 of file console_utils.h.
|
constexpr |
Definition at line 49 of file console_utils.h.
Referenced by main(), and kcenon::pacs::samples::print_section().
|
constexpr |
Bold text.
Definition at line 39 of file console_utils.h.
Referenced by kcenon::pacs::samples::print_dataset_elements(), kcenon::pacs::samples::print_header(), kcenon::pacs::samples::print_section(), and kcenon::pacs::samples::print_table().
|
constexpr |
Definition at line 58 of file console_utils.h.
|
constexpr |
Definition at line 60 of file console_utils.h.
|
constexpr |
Definition at line 56 of file console_utils.h.
|
constexpr |
Definition at line 59 of file console_utils.h.
|
constexpr |
Bright/bold colors.
Definition at line 55 of file console_utils.h.
|
constexpr |
Definition at line 61 of file console_utils.h.
|
constexpr |
Definition at line 57 of file console_utils.h.
|
constexpr |
Definition at line 51 of file console_utils.h.
Referenced by main(), kcenon::pacs::samples::print_dataset_elements(), kcenon::pacs::samples::print_header(), and kcenon::pacs::samples::print_info().
|
constexpr |
Dim/faint text.
Definition at line 42 of file console_utils.h.
Referenced by kcenon::pacs::samples::print_box(), kcenon::pacs::samples::print_debug(), kcenon::pacs::samples::print_progress(), and kcenon::pacs::samples::print_table().
|
constexpr |
Definition at line 47 of file console_utils.h.
Referenced by main(), kcenon::pacs::samples::print_progress(), and kcenon::pacs::samples::print_success().
|
constexpr |
Definition at line 50 of file console_utils.h.
Referenced by kcenon::pacs::samples::print_table().
|
constexpr |
Definition at line 46 of file console_utils.h.
Referenced by main(), and kcenon::pacs::samples::print_error().
|
constexpr |
Reset all formatting.
Definition at line 36 of file console_utils.h.
Referenced by main(), kcenon::pacs::samples::print_box(), kcenon::pacs::samples::print_dataset_elements(), kcenon::pacs::samples::print_debug(), kcenon::pacs::samples::print_error(), kcenon::pacs::samples::print_header(), kcenon::pacs::samples::print_info(), kcenon::pacs::samples::print_progress(), kcenon::pacs::samples::print_section(), kcenon::pacs::samples::print_success(), kcenon::pacs::samples::print_table(), and kcenon::pacs::samples::print_warning().
|
constexpr |
Definition at line 52 of file console_utils.h.
|
constexpr |
Definition at line 48 of file console_utils.h.
Referenced by main(), kcenon::pacs::samples::print_dataset_elements(), and kcenon::pacs::samples::print_warning().