1 #ifdef NCURSES_VERSION 2 #define COLOR_1_6(i) (i+1) 3 #define COLOR_DEFAULT_BG -1 4 #else 5 #define COLOR_1_6(i) colors1_6[i] 6 #define COLOR_DEFAULT_BG COLOR_BLACK 7 #endif 8 9 extern const short colors1_6[6]; 10 11 extern int margin_x; 12 13 extern WINDOW *window; 14 extern WINDOW *wins[6]; 15 16 void init_color_pairs(); 17 void initpair(short pair, short f, short b); 18 19 void delwins(); 20