--- uae/src/include/tui.h 2018/04/24 16:39:24 1.1.1.2 +++ uae/src/include/tui.h 2018/04/24 16:40:19 1.1.1.3 @@ -7,18 +7,6 @@ * Copyright 1996 Tim Gunn, Bernd Schmidt */ -/* This structure is used to define menus. The val field can hold key - * shortcuts, or one of these special codes: - * -3: end of table - * -2: line that is displayed, but not selectable - * -1: line that is selectable, but has no keyboard shortcut - * 0: Menu title - */ -struct bstring { - const char *data; - int val; -}; - extern void tui_setup(void); extern void tui_shutdown(void); extern void tui_refresh(void); @@ -37,10 +25,10 @@ extern void tui_clrwin(int); extern void tui_selwin(int); extern int tui_dlog(int, int, int, int); -extern int tui_menubrowse(struct bstring *, int, int, int); +extern int tui_menubrowse(struct bstring *, int, int, int, int); extern void tui_dlogdie(int); -extern char *tui_filereq(char *, char *); +extern char *tui_filereq(char *, char *, const char *); extern void tui_drawbox(int); extern void tui_hline(int, int, int); extern void tui_errorbox(const char *);