File: mainmenu.h

package info (click to toggle)
gramofile 1.6-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 840 kB
  • ctags: 538
  • sloc: ansic: 10,238; makefile: 55
file content (29 lines) | stat: -rw-r--r-- 643 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* Main menu - Header

 * Copyright (C) 1998 J.A. Bezemer
 *
 * Licensed under the terms of the GNU General Public License.
 * ABSOLUTELY NO WARRANTY.
 * See the file `COPYING' in this directory.
 */

#ifndef HAVE_MAINMENU_H
#define HAVE_MAINMENU_H


#define DISPLAYMENU_Y		3
#define DISPLAYMENU_X		5
#define DISPLAYMENU_DISTANCE	2


void displaymenu_onscreen (char **options, char **helptext,
			   int number, int selected,
			   int y, int x, int distance);
				/* (y,x): upper left position */

int displaymenu (char **options, char **helptext, int number, int preselected);

void mainmenu (char *startdir);


#endif /* HAVE_MAINMENU_H */