libigl v2.5.0
Loading...
Searching...
No Matches
REDRUM.h File Reference

Go to the source code of this file.

Macros

#define REDRUM(X)   "\e[1m\e[31m"<<X<<"\e[m"
 Bold red colored text.
 
#define NORUM(X)   ""<<X<<""
 
#define GREENRUM(X)   "\e[1m\e[32m"<<X<<"\e[m"
 
#define YELLOWRUM(X)   "\e[1m\e[33m"<<X<<"\e[m"
 
#define BLUERUM(X)   "\e[1m\e[34m"<<X<<"\e[m"
 
#define MAGENTARUM(X)   "\e[1m\e[35m"<<X<<"\e[m"
 
#define CYANRUM(X)   "\e[1m\e[36m"<<X<<"\e[m"
 
#define REDGIN(X)   "\e[31m"<<X<<"\e[m"
 
#define GREENGIN(X)   "\e[32m"<<X<<"\e[m"
 
#define YELLOWGIN(X)   "\e[33m"<<X<<"\e[m"
 
#define BLUEGIN(X)   "\e[34m"<<X<<"\e[m"
 
#define MAGENTAGIN(X)   "\e[35m"<<X<<"\e[m"
 
#define CYANGIN(X)   "\e[36m"<<X<<"\e[m"
 

Macro Definition Documentation

◆ REDRUM

#define REDRUM (   X)    "\e[1m\e[31m"<<X<<"\e[m"

Bold red colored text.

Parameters
[in]Xtext to color
Returns
colored text as "stream"

Example:

std::cout<<REDRUM("File "<<filename<<" not found.")<<std::endl;
#define REDRUM(X)
Bold red colored text.
Definition REDRUM.h:46

◆ NORUM

#define NORUM (   X)    ""<<X<<""

◆ GREENRUM

#define GREENRUM (   X)    "\e[1m\e[32m"<<X<<"\e[m"

◆ YELLOWRUM

#define YELLOWRUM (   X)    "\e[1m\e[33m"<<X<<"\e[m"

◆ BLUERUM

#define BLUERUM (   X)    "\e[1m\e[34m"<<X<<"\e[m"

◆ MAGENTARUM

#define MAGENTARUM (   X)    "\e[1m\e[35m"<<X<<"\e[m"

◆ CYANRUM

#define CYANRUM (   X)    "\e[1m\e[36m"<<X<<"\e[m"

◆ REDGIN

#define REDGIN (   X)    "\e[31m"<<X<<"\e[m"

◆ GREENGIN

#define GREENGIN (   X)    "\e[32m"<<X<<"\e[m"

◆ YELLOWGIN

#define YELLOWGIN (   X)    "\e[33m"<<X<<"\e[m"

◆ BLUEGIN

#define BLUEGIN (   X)    "\e[34m"<<X<<"\e[m"

◆ MAGENTAGIN

#define MAGENTAGIN (   X)    "\e[35m"<<X<<"\e[m"

◆ CYANGIN

#define CYANGIN (   X)    "\e[36m"<<X<<"\e[m"