00001 00022 #ifndef ANSI_COLORS_H 00023 #define ANSI_COLORS_H 00024 00025 #define C_RESET "\E[0m" 00026 #define C_BOLD "\E[1m" 00027 #define C_ITALIC "\E[3m" 00028 #define C_UNDERLINE "\E[4m" 00029 #define C_INVERSE "\E[7m" 00030 #define C_STRIKETHROUGH "\E[9m" 00031 #define C_BOLD_OFF "\E[22m" 00032 #define C_ITALIC_OFF "\E[23m" 00033 #define C_UNDERLINE_OFF "\E[24m" 00034 #define C_INVERSE_OFF "\E[27m" 00035 #define C_STRIKETHROUGH_OFF "\E[29m" 00036 #define CF_BLACK "\E[30m" 00037 #define CF_RED "\E[31m" 00038 #define CF_GREEN "\E[32m" 00039 #define CF_YELLOW "\E[33m" 00040 #define CF_BLUE "\E[34m" 00041 #define CF_MAGENTA "\E[35m" 00042 #define CF_CYAN "\E[36m" 00043 #define CF_WHITE "\E[37m" 00044 #define CF_DEFAULT "\E[39m" 00045 #define CB_BLACK "\E[40m" 00046 #define CB_RED "\E[41m" 00047 #define CB_GREEN "\E[42m" 00048 #define CB_YELLOW "\E[43m" 00049 #define CB_BLUE "\E[44m" 00050 #define CB_MAGENTA "\E[45m" 00051 #define CB_CYAN "\E[46m" 00052 #define CB_WHILE "\E[47m" 00053 #define CB_DEFAULT "\E[49m" 00054 00055 #define LF "\n" 00056 00057 #endif