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