1 /* Main menu - Header 2 3 * Copyright (C) 1998 J.A. Bezemer 4 * 5 * Licensed under the terms of the GNU General Public License. 6 * ABSOLUTELY NO WARRANTY. 7 * See the file `COPYING' in this directory. 8 */ 9 10 #ifndef HAVE_MAINMENU_H 11 #define HAVE_MAINMENU_H 12 13 14 #define DISPLAYMENU_Y 3 15 #define DISPLAYMENU_X 5 16 #define DISPLAYMENU_DISTANCE 2 17 18 19 void displaymenu_onscreen (char **options, char **helptext, 20 int number, int selected, 21 int y, int x, int distance); 22 /* (y,x): upper left position */ 23 24 int displaymenu (char **options, char **helptext, int number, int preselected); 25 26 void mainmenu (char *startdir); 27 28 29 #endif /* HAVE_MAINMENU_H */ 30