milupHPC documentation
  • include
  • utils
color.h
Go to the documentation of this file.
1#ifndef CPPUTILS_COLOR_H
2#define CPPUTILS_COLOR_H
3
5namespace Color {
6 enum Code {
7 FG_DEFAULT = 39,
8 FG_BLACK = 30,
9 FG_RED = 31,
10 FG_GREEN = 32,
11 FG_YELLOW = 33,
12 FG_BLUE = 34,
13 FG_MAGENTA = 35,
14 FG_CYAN = 36,
15 FG_LIGHT_GRAY = 37,
16 FG_DARK_GRAY = 90,
17 FG_LIGHT_RED = 91,
18 FG_LIGHT_GREEN = 92,
19 FG_LIGHT_YELLOW = 93,
20 FG_LIGHT_BLUE = 94,
21 FG_LIGHT_MAGENTA = 95,
22 FG_LIGHT_CYAN = 96,
23 FG_WHITE = 97,
24 BG_RED = 41,
25 BG_GREEN = 42,
26 BG_BLUE = 44,
27 BG_DEFAULT = 49
28 };
29}
30
31#endif //CPPUTILS_COLOR_H
Color
Colors for output formatting.
Definition: color.h:5
Color::Code
Code
Definition: color.h:6
Color::BG_BLUE
@ BG_BLUE
Background: green.
Definition: color.h:26
Color::BG_DEFAULT
@ BG_DEFAULT
Background: blue.
Definition: color.h:27
Color::FG_MAGENTA
@ FG_MAGENTA
Foreground: blue.
Definition: color.h:13
Color::FG_GREEN
@ FG_GREEN
Foreground: red.
Definition: color.h:10
Color::FG_LIGHT_GREEN
@ FG_LIGHT_GREEN
Foreground: light red.
Definition: color.h:18
Color::FG_LIGHT_GRAY
@ FG_LIGHT_GRAY
Foreground: cyan.
Definition: color.h:15
Color::FG_LIGHT_YELLOW
@ FG_LIGHT_YELLOW
Foreground: light green.
Definition: color.h:19
Color::FG_LIGHT_RED
@ FG_LIGHT_RED
Foreground: dark gray.
Definition: color.h:17
Color::BG_GREEN
@ BG_GREEN
Background: red.
Definition: color.h:25
Color::FG_DARK_GRAY
@ FG_DARK_GRAY
Foreground: light gray.
Definition: color.h:16
Color::FG_BLACK
@ FG_BLACK
Foreground: distro's default.
Definition: color.h:8
Color::FG_YELLOW
@ FG_YELLOW
Foreground: green.
Definition: color.h:11
Color::FG_DEFAULT
@ FG_DEFAULT
Definition: color.h:7
Color::FG_WHITE
@ FG_WHITE
Foreground: light cyan.
Definition: color.h:23
Color::FG_BLUE
@ FG_BLUE
Foreground: yellow.
Definition: color.h:12
Color::FG_LIGHT_CYAN
@ FG_LIGHT_CYAN
Foreground: light magenta.
Definition: color.h:22
Color::FG_LIGHT_MAGENTA
@ FG_LIGHT_MAGENTA
Foreground: light blue.
Definition: color.h:21
Color::BG_RED
@ BG_RED
Foreground: white.
Definition: color.h:24
Color::FG_LIGHT_BLUE
@ FG_LIGHT_BLUE
Foreground: light yellow.
Definition: color.h:20
Color::FG_RED
@ FG_RED
Foreground: black.
Definition: color.h:9
Color::FG_CYAN
@ FG_CYAN
Foreground: magenta.
Definition: color.h:14

milupHPC - include/utils/color.h Source File
Generated on Wed Aug 31 2022 12:16:52 by Doxygen 1.9.3