TP Intégration Numérique
 All Files Functions
textcolors.h
Go to the documentation of this file.
1 
8 #ifndef _TEXTCOLORS_H
9 #define _TEXTCOLORS_H
10 // Black(0), Red(1), Green(2), Yellow(3), Blue(4), Magenta(5), Cyan(6), White(7)
11 // select terminal text color : "\033[22;3xm" where x is color number
12 // select terminal text light color : "\033[01;3xm" where x is color number
13 #define TEXTCOLOR_RED "\033[01;31m"
14 #define TEXTCOLOR_GREEN "\033[01;32m"
15 #define TEXTCOLOR_YELLOW "\033[01;33m"
16 #define TEXTCOLOR_BLUE "\033[01;34m"
17 #define TEXTCOLOR_MAGENTA "\033[01;35m"
18 #define TEXTCOLOR_CYAN "\033[01;36m"
19 #define TEXTCOLOR_END "\033[0m"
20 
21 #define DEBUGCOLOR TEXTCOLOR_RED
22 #define VERBOSECOLOR TEXTCOLOR_BLUE
23 #endif