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 23 #ifndef __VIDEO_H 24 #define __VIDEO_H 25 /* paints the screen while viewing info file */ 26 void showscreen (char **message, unsigned long lines, unsigned long pos, 27 long cursor, int column); 28 /* prints unselected menu option */ 29 void mvaddstr_menu (int y, int x, char *line, int linenumber); 30 /* prints selected menu option */ 31 void mvaddstr_menu_selected (int y, int x, char *line, int linenumber); 32 /* prints unselected note option */ 33 void mvaddstr_note (int y, int x, char *line, char *nline, int linenumber); 34 /* prints selected note option */ 35 void mvaddstr_note_selected (int y, int x, char *line, char *nline, int linenumber); 36 /* adds top line of info page */ 37 void addtopline (char *type, int column); 38 #endif 39