Robot Principal
26
Documentation du Club Robot INSA Rennes 2026
Chargement...
Recherche...
Aucune correspondance
coloring.h
Aller à la documentation de ce fichier.
1
7
8
#ifndef COLOR_H
9
#define COLOR_H
16
#define NOBOLD 0
17
#define BOLD 1
18
19
// Reset all colors (foreground, background and bold)
20
#define COLOR_NORMAL "\e[m"
21
22
// Bold text
23
#define COLOR_BOLD "\e[1m"
24
25
// Font colors
26
#define COLOR_BLACK "\e[30m"
27
#define COLOR_RED "\e[31m"
28
#define COLOR_GREEN "\e[32m"
29
#define COLOR_YELLOW "\e[33m"
30
#define COLOR_BLUE "\e[34m"
31
#define COLOR_MAGENTA "\e[35m"
32
#define COLOR_CYAN "\e[36m"
33
#define COLOR_WHITE "\e[37m"
34
35
// Background colors
36
#define COLOR_BG_BLACK "\e[40m"
37
#define COLOR_BG_RED "\e[41m"
38
#define COLOR_BG_GREEN "\e[42m"
39
#define COLOR_BG_YELLOW "\e[43m"
40
#define COLOR_BG_BLUE "\e[44m"
41
#define COLOR_BG_MAGENTA "\e[45m"
42
#define COLOR_BG_CYAN "\e[46m"
43
#define COLOR_BG_WHITE "\e[47m"
44
46
47
#endif
lib
Logger
coloring.h
Généré par
1.13.2