Logo Search packages:      
Sourcecode: nap version File versions  Download package

colors.h

#define USE_COLORS


#ifdef USE_COLORS

  #define RED "\e[31m"
  #define GREEN "\e[32m"
  #define WHITE "\e[0m"
  #define YELLOW "\e[33m"
  #define BLUE "\e[34m"
  #define MAGENTA "\e[35m"
  #define BOLD "\e[1m"
  #define DARK "\e[2m"
  #define CYAN "\e[36m"
  #define BLINK "\e[5m"
  #define UNDERLINE "\e[4m"
  #define BRIGHT(x) BOLD x

#else

  #define RED ""
  #define GREEN ""
  #define WHITE ""
  #define YELLOW ""
  #define BLUE ""
  #define MAGENTA ""
  #define BOLD ""
  #define DARK ""
  #define CYAN ""
  #define BLINK ""
  #define BRIGHT(x) ""

#endif



#define CPR 2
#define CPG 3
#define CPW 4
#define CPB 5
#define CPY 6
#define CPM 7
#define CPC 8
#define CPWR 9
#define CPWB 10

Generated by  Doxygen 1.6.0   Back to index