00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef NCOLORDEFS_H
00023 #define NCOLORDEFS_H
00024
00025 #if !defined(WIN32)
00026
00027 #define BLACK "\x1B[00;30m"
00028 #define RED "\x1B[00;31m"
00029 #define GREEN "\x1B[00;32m"
00030 #define BROWN "\x1B[00;33m"
00031 #define BLUE "\x1B[00;34m"
00032 #define MAGENTA "\x1B[00;35m"
00033 #define CYAN "\x1B[00;36m"
00034 #define WHITE "\x1B[00;37m"
00035
00036 #define LIGHT_BLACK "\x1B[01;30m"
00037 #define LIGHT_RED "\x1B[01;31m"
00038 #define LIGHT_GREEN "\x1B[01;32m"
00039 #define LIGHT_BROWN "\x1B[01;33m"
00040 #define LIGHT_BLUE "\x1B[01;34m"
00041 #define LIGHT_MAGENTA "\x1B[01;35m"
00042 #define LIGHT_CYAN "\x1B[01;36m"
00043 #define LIGHT_WHITE "\x1B[01;37m"
00044
00045 #define BG_BLACK "\x1B[02;40m"
00046 #define BG_RED "\x1B[02;41m"
00047 #define BG_GREEN "\x1B[02;42m"
00048 #define BG_BROWN "\x1B[02;43m"
00049 #define BG_BLUE "\x1B[02;44m"
00050 #define BG_MAGENTA "\x1B[02;45m"
00051 #define BG_CYAN "\x1B[02;46m"
00052 #define BG_WHITE "\x1B[02;47m"
00053
00054 #define RESET "\x1B[00m"
00055
00056 #else
00057
00058 #define BLACK " "
00059 #define RED " "
00060 #define GREEN " "
00061 #define BROWN " "
00062 #define BLUE " "
00063 #define MAGENTA " "
00064 #define CYAN " "
00065 #define WHITE " "
00066
00067 #define LIGHT_BLACK ""
00068 #define LIGHT_RED ""
00069 #define LIGHT_GREEN ""
00070 #define LIGHT_BROWN ""
00071 #define LIGHT_BLUE ""
00072 #define LIGHT_MAGENTA ""
00073 #define LIGHT_CYAN ""
00074 #define LIGHT_WHITE ""
00075
00076 #define BG_BLACK ""
00077 #define BG_RED ""
00078 #define BG_GREEN ""
00079 #define BG_BROWN ""
00080 #define BG_BLUE ""
00081 #define BG_MAGENTA ""
00082 #define BG_CYAN ""
00083 #define BG_WHITE ""
00084
00085 #define RESET ""
00086
00087 #endif // WIN32
00088
00089 #endif // NCOLORDEFS_H