Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
TerminalColors.h
Go to the documentation of this file.
1/* This file is part of MoDELib, the Mechanics Of Defects Evolution Library.
2 *
3 *
4 * MODEL is distributed without any warranty under the
5 * GNU General Public License (GPL) v2 <http://www.gnu.org/licenses/>.
6 */
7
8#ifndef _TerminalColors_h
9#define _TerminalColors_h
10
11#include <iostream>
12#include <iomanip>
13#include <string>
14
15namespace model
16{
17 static std::string defaultColor = "\033[0m"; // the default color for the console
18
19 static std::string redColor = "\033[0;31m";
20 static std::string redBoldColor = "\033[1;31m";
21
22 static std::string greenColor = "\033[0;32m"; // a green color
23 static std::string greenBoldColor = "\033[1;32m"; // a bold green color
24
25 static std::string yellowColor = "\033[0;33m"; // a yellow color
26 static std::string yellowBoldColor = "\033[1;33m"; // a bold yellow color
27
28 static std::string blueColor = "\033[0;34m"; // a blue color
29 static std::string blueBoldColor = "\033[1;34m"; // a bold blue color
30
31 static std::string magentaColor = "\033[0;35m"; // a magenta color
32 static std::string magentaBoldColor= "\033[1;35m"; // a bold magenta color
33
34 static std::string cyanColor = "\033[0;36m"; // a cyan color
35 static std::string cyanBoldColor= "\033[1;36m"; // a bold cyan color
36
37
38}
39
40
41#endif
42
static std::string redColor
static std::string blueColor
static std::string redBoldColor
static std::string cyanColor
static std::string magentaColor
static std::string yellowColor
static std::string cyanBoldColor
static std::string greenColor
static std::string greenBoldColor
static std::string defaultColor
static std::string blueBoldColor
static std::string magentaBoldColor
static std::string yellowBoldColor