|
|
1.1.1.2 ! root 1: /* ! 2: * UAE - The Un*x Amiga Emulator ! 3: * ! 4: * Text-based user interface ! 5: * Sie haben es sich verdient! ! 6: * ! 7: * Copyright 1996 Tim Gunn, Bernd Schmidt ! 8: */ ! 9: ! 10: /* This structure is used to define menus. The val field can hold key ! 11: * shortcuts, or one of these special codes: ! 12: * -3: end of table ! 13: * -2: line that is displayed, but not selectable ! 14: * -1: line that is selectable, but has no keyboard shortcut ! 15: * 0: Menu title ! 16: */ ! 17: struct bstring { ! 18: const char *data; ! 19: int val; ! 20: }; 1.1 root 21: 22: extern void tui_setup(void); 23: extern void tui_shutdown(void); 24: extern void tui_refresh(void); 25: 26: extern void tui_curson(void); 27: extern void tui_cursoff(void); 28: 29: extern void tui_cr(void); 30: extern void tui_gotoxy(int, int); 31: extern void tui_puts(const char *); 32: extern void tui_putc(char); 33: extern char tui_getc(void); 34: extern int tui_gets(char *, int, int, int); 35: extern int tui_wgets(char *, const char *, int); 36: extern void tui_clrwin(int); 37: extern void tui_selwin(int); 38: 39: extern int tui_dlog(int, int, int, int); 1.1.1.2 ! root 40: extern int tui_menubrowse(struct bstring *, int, int, int); ! 41: 1.1 root 42: extern void tui_dlogdie(int); 43: extern char *tui_filereq(char *, char *); 44: extern void tui_drawbox(int); 45: extern void tui_hline(int, int, int); 1.1.1.2 ! root 46: extern void tui_errorbox(const char *); 1.1 root 47: 48: extern int tui_cols(void); 49: extern int tui_lines(void); 50: 51: extern int tui_backup_optionsfile(void);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.