votca 2024-dev
Loading...
Searching...
No Matches
Variables
votca::tools::Colors Namespace Reference

stores color codes for colorful help output More...

Variables

static const char Empty [] = {0}
 
static const char Reset [] = {0x1b, '[', '0', ';', '3', '9', 'm', 0}
 
static const char Black [] = {0x1b, '[', '0', ';', '3', '0', 'm', 0}
 
static const char Red [] = {0x1b, '[', '0', ';', '3', '1', 'm', 0}
 
static const char Green [] = {0x1b, '[', '0', ';', '3', '2', 'm', 0}
 
static const char Yellow [] = {0x1b, '[', '0', ';', '3', '3', 'm', 0}
 
static const char Blue [] = {0x1b, '[', '0', ';', '3', '4', 'm', 0}
 
static const char Magenta [] = {0x1b, '[', '0', ';', '3', '5', 'm', 0}
 
static const char Cyan [] = {0x1b, '[', '0', ';', '3', '6', 'm', 0}
 
static const char White [] = {0x1b, '[', '0', ';', '3', '7', 'm', 0}
 
static const char BoldBlack [] = {0x1b, '[', '1', ';', '3', '0', 'm', 0}
 
static const char BoldRed [] = {0x1b, '[', '1', ';', '3', '1', 'm', 0}
 
static const char BoldGreen [] = {0x1b, '[', '1', ';', '3', '2', 'm', 0}
 
static const char BoldYellow [] = {0x1b, '[', '1', ';', '3', '3', 'm', 0}
 
static const char BoldBlue [] = {0x1b, '[', '1', ';', '3', '4', 'm', 0}
 
static const char BoldMagenta [] = {0x1b, '[', '1', ';', '3', '5', 'm', 0}
 
static const char BoldCyan [] = {0x1b, '[', '1', ';', '3', '6', 'm', 0}
 
static const char BoldWhite [] = {0x1b, '[', '1', ';', '3', '7', 'm', 0}
 

Detailed Description

stores color codes for colorful help output

"\x1b[%dm"

0: reset colors/style 1: bold 4: underline 30 - 37: black, red, green, yellow, blue, magenta, cyan, and white text 40 - 47: black, red, green, yellow, blue, magenta, cyan, and white background A, B, C, D - moves cursor one line above, under, right, left

example: "\x1b[1;35;42m"

Variable Documentation

◆ Black

const char votca::tools::Colors::Black[] = {0x1b, '[', '0', ';', '3', '0', 'm', 0}
static

Definition at line 44 of file colors.h.

◆ Blue

const char votca::tools::Colors::Blue[] = {0x1b, '[', '0', ';', '3', '4', 'm', 0}
static

Definition at line 48 of file colors.h.

◆ BoldBlack

const char votca::tools::Colors::BoldBlack[] = {0x1b, '[', '1', ';', '3', '0', 'm', 0}
static

Definition at line 53 of file colors.h.

◆ BoldBlue

const char votca::tools::Colors::BoldBlue[] = {0x1b, '[', '1', ';', '3', '4', 'm', 0}
static

Definition at line 57 of file colors.h.

◆ BoldCyan

const char votca::tools::Colors::BoldCyan[] = {0x1b, '[', '1', ';', '3', '6', 'm', 0}
static

Definition at line 59 of file colors.h.

◆ BoldGreen

const char votca::tools::Colors::BoldGreen[] = {0x1b, '[', '1', ';', '3', '2', 'm', 0}
static

Definition at line 55 of file colors.h.

◆ BoldMagenta

const char votca::tools::Colors::BoldMagenta[] = {0x1b, '[', '1', ';', '3', '5', 'm', 0}
static

Definition at line 58 of file colors.h.

◆ BoldRed

const char votca::tools::Colors::BoldRed[] = {0x1b, '[', '1', ';', '3', '1', 'm', 0}
static

Definition at line 54 of file colors.h.

◆ BoldWhite

const char votca::tools::Colors::BoldWhite[] = {0x1b, '[', '1', ';', '3', '7', 'm', 0}
static

Definition at line 60 of file colors.h.

◆ BoldYellow

const char votca::tools::Colors::BoldYellow[] = {0x1b, '[', '1', ';', '3', '3', 'm', 0}
static

Definition at line 56 of file colors.h.

◆ Cyan

const char votca::tools::Colors::Cyan[] = {0x1b, '[', '0', ';', '3', '6', 'm', 0}
static

Definition at line 50 of file colors.h.

◆ Empty

const char votca::tools::Colors::Empty[] = {0}
static

Definition at line 40 of file colors.h.

◆ Green

const char votca::tools::Colors::Green[] = {0x1b, '[', '0', ';', '3', '2', 'm', 0}
static

Definition at line 46 of file colors.h.

◆ Magenta

const char votca::tools::Colors::Magenta[] = {0x1b, '[', '0', ';', '3', '5', 'm', 0}
static

Definition at line 49 of file colors.h.

◆ Red

const char votca::tools::Colors::Red[] = {0x1b, '[', '0', ';', '3', '1', 'm', 0}
static

Definition at line 45 of file colors.h.

◆ Reset

const char votca::tools::Colors::Reset[] = {0x1b, '[', '0', ';', '3', '9', 'm', 0}
static

Definition at line 42 of file colors.h.

◆ White

const char votca::tools::Colors::White[] = {0x1b, '[', '0', ';', '3', '7', 'm', 0}
static

Definition at line 51 of file colors.h.

◆ Yellow

const char votca::tools::Colors::Yellow[] = {0x1b, '[', '0', ';', '3', '3', 'm', 0}
static

Definition at line 47 of file colors.h.