PhoenixPresentation  2.0.0
Set of cmake function to automate presentation generation
phoenix_color.cpp
Go to the documentation of this file.
1 /***************************************
2  Auteur : Pierre Aubert
3  Mail : pierre.aubert@lapp.in2p3.fr
4  Licence : CeCILL-C
5 ****************************************/
6 
7 #include "phoenix_color.h"
8 
10 
12 std::string termDefault(){return "\033[0m";}
13 
15 
17 std::string termBright(){return "\033[1m";}
18 
20 
22 std::string termUnderlined(){return "\033[4m";}
23 
25 
27 std::string termBlink(){return "\033[5m";}
28 
30 
32 std::string termNegative(){return "\033[7m";}
33 
35 
37 std::string termPositive(){return "\033[27m";}
38 
40 
42 std::string termBlack(){return "\033[30m";}
43 
45 
47 std::string termRed(){return "\033[31m";}
48 
50 
52 std::string termGreen(){return "\033[32m";}
53 
55 
57 std::string termYellow(){return "\033[33m";}
58 
60 
62 std::string termBlue(){return "\033[34m";}
63 
65 
67 std::string termPurple(){return "\033[35m";}
68 
70 
72 std::string termCyan(){return "\033[36m";}
73 
75 
77 std::string termWhite(){return "\033[37m";}
78 
80 
82 std::string termBBlack(){return "\033[40m";}
83 
85 
87 std::string termBRed(){return "\033[41m";}
88 
90 
92 std::string termBGreen(){return "\033[42m";}
93 
95 
97 std::string termBYellow(){return "\033[43m";}
98 
100 
102 std::string termBBlue(){return "\033[44m";}
103 
105 
107 std::string termBPurple(){return "\033[45m";}
108 
110 
112 std::string termBCyan(){return "\033[46m";}
113 
115 
117 std::string termBWhite(){return "\033[47m";}
118 
121  printf("\033[H\033[2J");
122 }
123 
124 
std::string termDefault()
affiche le terminal par défaut
std::string termPositive()
affiche le terminal positif
std::string termUnderlined()
affiche le terminal souligné
std::string termBlack()
affiche le terminal noir
std::string termBPurple()
affiche le fond du terminal en violet
std::string termBGreen()
affiche le fond du terminal en vert
std::string termCyan()
affiche le terminal cyan
std::string termBWhite()
affiche le fond du terminal en blanc
std::string termBBlue()
affiche le fond du terminal en bleu
std::string termYellow()
affiche le terminal jaune
std::string termNegative()
affiche le terminal négatif
std::string termBBlack()
affiche le fond du terminal en noir
std::string termBYellow()
affiche le fond du terminal en jaune
std::string termBright()
affiche le terminal brillant
std::string termWhite()
affiche le terminal blanc
void clearTerminal()
fonction qui permet d'éffacer le terminal
std::string termBlink()
affiche le terminal clignotant
std::string termPurple()
affiche le terminal violet
std::string termGreen()
affiche le terminal vert
std::string termBRed()
affiche le fond du terminal en rouge
std::string termBCyan()
affiche le fond du terminal en cyan
std::string termRed()
affiche le terminal rouge
std::string termBlue()
affiche le terminal blue