GRU - Generic Reusable Utilities
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
gru_colors.h
Go to the documentation of this file.
1 
16 #ifndef GRU_COLORS_H
17 #define GRU_COLORS_H
18 
23 #define BLACK "\x1B[00;30m"
24 #define RED "\x1B[00;31m"
25 #define GREEN "\x1B[00;32m"
26 #define YELLOW "\x1B[00;33m"
27 #define BLUE "\x1B[00;34m"
28 #define MAGENTA "\x1B[00;35m"
29 #define CYAN "\x1B[00;36m"
30 #define WHITE "\x1B[00;37m"
31 
32 #define LIGHT_BLACK "\x1B[01;30m"
33 #define LIGHT_RED "\x1B[01;31m"
34 #define LIGHT_GREEN "\x1B[01;32m"
35 #define LIGHT_YELLOW "\x1B[01;33m"
36 #define LIGHT_BLUE "\x1B[01;34m"
37 #define LIGHT_MAGENTA "\x1B[01;35m"
38 #define LIGHT_CYAN "\x1B[01;36m"
39 #define LIGHT_WHITE "\x1B[01;37m"
40 
41 #define BG_BLACK "\x1B[02;40m"
42 #define BG_RED "\x1B[02;41m"
43 #define BG_GREEN "\x1B[02;42m"
44 #define BG_YELLOW "\x1B[02;43m"
45 #define BG_BLUE "\x1B[02;44m"
46 #define BG_MAGENTA "\x1B[02;45m"
47 #define BG_CYAN "\x1B[02;46m"
48 #define BG_WHITE "\x1B[02;47m"
49 
50 #define RESET "\x1B[00m"
51 
52 #define CLEAR_LINE "\x1B[2K\r"
53 #define CLEAR_SCREEN "\e[1;1H\e[2J"
54 
55 #endif // GRU_COLORS_H