otsdaq  v1_01_04
 All Classes Namespaces Functions
ANSIColors.h
1 /****************************************************************************
2 ** Authors: Dario Menasce, Stefano Terzo
3 **
4 ** I.N.F.N. Milan-Bicocca
5 ** Piazza della Scienza 3, Edificio U2
6 ** Milano, 20126
7 **
8 ****************************************************************************/
9 
10 #ifndef _ANSICOLORS_H
11 #define _ANSICOLORS_H
12 
28 #define ACBlack "\x1B[0;30m"
29 #define ACBlue "\x1B[0;34m"
30 #define ACGreen "\x1B[0;32m"
31 #define ACCyan "\x1B[0;36m"
32 #define ACRed "\x1B[0;31m"
33 #define ACPurple "\x1B[0;35m"
34 #define ACBrown "\x1B[0;33m"
35 #define ACGray "\x1B[0;37m"
36 #define ACDarkGray "\x1B[1;30m"
37 #define ACLightBlue "\x1B[1;34m"
38 #define ACLightGreen "\x1B[1;32m"
39 #define ACLightCyan "\x1B[1;36m"
40 #define ACLightRed "\x1B[1;31m"
41 #define ACLightPurple "\x1B[1;35m"
42 #define ACYellow "\x1B[1;33m"
43 #define ACWhite "\x1B[1;37m"
44 
45 #define ACPlain "\x1B[0m"
46 #define ACBold "\x1B[1m"
47 #define ACUnderline "\x1B[4m"
48 #define ACBlink "\x1B[5m"
49 #define ACReverse "\x1B[7m"
50 
51 #define ACClear "\x1B[2J"
52 #define ACClearL "\x1B[2K"
53 
54 #define ACCR " \r"
55 
56 #define ACSave "\x1B[s"
57 #define ACRecall "\x1B[u"
58 
59 #endif // _ANSICOLORS_H