CRINSA-team2025
V1
Documentation du Club Robot INSA Rennes 2025
Chargement...
Recherche...
Aucune correspondance
coloring.h
1
#ifndef COLOR_H
2
#define COLOR_H
3
4
#define NOBOLD 0
5
#define BOLD 1
6
7
// Reset all colors (foreground, background and bold)
8
#define COLOR_NORMAL "\e[m"
9
10
// Bold text
11
#define COLOR_BOLD "\e[1m"
12
13
// Font colors
14
#define COLOR_BLACK "\e[30m"
15
#define COLOR_RED "\e[31m"
16
#define COLOR_GREEN "\e[32m"
17
#define COLOR_YELLOW "\e[33m"
18
#define COLOR_BLUE "\e[34m"
19
#define COLOR_MAGENTA "\e[35m"
20
#define COLOR_CYAN "\e[36m"
21
#define COLOR_WHITE "\e[37m"
22
23
// Background colors
24
#define COLOR_BG_BLACK "\e[40m"
25
#define COLOR_BG_RED "\e[41m"
26
#define COLOR_BG_GREEN "\e[42m"
27
#define COLOR_BG_YELLOW "\e[43m"
28
#define COLOR_BG_BLUE "\e[44m"
29
#define COLOR_BG_MAGENTA "\e[45m"
30
#define COLOR_BG_CYAN "\e[46m"
31
#define COLOR_BG_WHITE "\e[47m"
32
33
#endif
lib
Logger
coloring.h
Généré par
1.13.2