1 /*************************************************************************** 2 * Pinfo is a ncurses based lynx style info documentation browser 3 * 4 * Copyright (C) 1999 Przemek Borys <pborys@dione.ids.pl> 5 * Copyright (C) 2005 Bas Zoetekouw <bas@debian.org> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of version 2 of the GNU General Public License as 9 * published by the Free Software Foundation. 10 * 11 * This program is distributed in the hope that it will be useful, but 12 * WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 19 * USA 20 ***************************************************************************/ 21 22 #ifndef __COLORS_H 23 #define __COLORS_H 24 25 /* numbers of color pairs in curses color definitions */ 26 27 #define NORMAL 1 28 #define MENUSELECTED 2 29 #define NOTESELECTED 3 30 #define MENU 4 31 #define NOTE 5 32 #define TOPLINE 6 33 #define BOTTOMLINE 7 34 #define MANUALBOLD 8 35 #define MANUALITALIC 9 36 #define URL 10 37 #define URLSELECTED 11 38 #define INFOHIGHLIGHT 12 39 #define SEARCHHIGHLIGHT 13 40 41 /* those bellow hold color attributes for named screen widgets */ 42 43 extern int menu; 44 extern int menuselected; 45 extern int note; 46 extern int noteselected; 47 extern int normal; 48 extern int topline; 49 extern int bottomline; 50 extern int manualbold; 51 extern int manualitalic; 52 extern int url; 53 extern int urlselected; 54 extern int infohighlight; 55 extern int searchhighlight; 56 57 /* 58 * initialize color values/attributes/etc. Either for color and monochrome 59 * mode. 60 */ 61 void initcolors (); 62 63 #endif 64