window-port updates

Remove start_screen() and end_screen() from the
Window-port interface.

They were only ever used by tty, and there was a comment
carried to several window-ports about how they "really
should go away. They are tty-specific"

term_start_screen() and term_end_screen() are part of
terminal/NO_TERMS supporting routines now.
This commit is contained in:
nhmall
2025-01-04 23:38:34 -05:00
parent 63dfb84d00
commit be5143bb74
42 changed files with 59 additions and 334 deletions

View File

@@ -489,10 +489,6 @@ extern void X11_status_enablefield(int, const char *, const char *, boolean);
extern void X11_status_update(int, genericptr_t, int, int, int,
unsigned long *);
/* other defs that really should go away (they're tty specific) */
extern void X11_start_screen(void);
extern void X11_end_screen(void);
#ifdef GRAPHIC_TOMBSTONE
extern void X11_outrip(winid, int, time_t);
#else

View File

@@ -108,8 +108,6 @@ extern void curses_getlin(const char *question, char *input);
extern int curses_get_ext_cmd(void);
extern void curses_number_pad(int state);
extern void curses_delay_output(void);
extern void curses_start_screen(void);
extern void curses_end_screen(void);
extern void curses_outrip(winid wid, int how, time_t when);
extern void genl_outrip(winid tmpwin, int how, time_t when);
extern void curses_preference_update(const char *pref);

View File

@@ -80,10 +80,6 @@ struct window_procs {
char *(*win_get_color_string)(void);
#endif
/* other defs that really should go away (they're tty specific) */
void (*win_start_screen)(void);
void (*win_end_screen)(void);
void (*win_outrip)(winid, int, time_t);
void (*win_preference_update)(const char *);
char *(*win_getmsghistory)(boolean);
@@ -177,10 +173,6 @@ extern
*/
/* #define yn_function (*windowprocs.win_yn_function) */
/* other defs that really should go away (they're tty specific) */
#define start_screen (*windowprocs.win_start_screen)
#define end_screen (*windowprocs.win_end_screen)
#define outrip (*windowprocs.win_outrip)
#define preference_update (*windowprocs.win_preference_update)
#define getmsghistory (*windowprocs.win_getmsghistory)
@@ -404,10 +396,6 @@ struct chain_procs {
char *(*win_get_color_string)(CARGS);
#endif
/* other defs that really should go away (they're tty specific) */
void (*win_start_screen)(CARGS);
void (*win_end_screen)(CARGS);
void (*win_outrip)(CARGS, winid, int, time_t);
void (*win_preference_update)(CARGS, const char *);
char *(*win_getmsghistory)(CARGS, boolean);
@@ -481,8 +469,6 @@ extern short safe_set_font_name(winid, char *);
#endif
extern char *safe_get_color_string(void);
#endif
extern void safe_start_screen(void);
extern void safe_end_screen(void);
extern void safe_outrip(winid, int, time_t);
extern void safe_preference_update(const char *);
extern char *safe_getmsghistory(boolean);

View File

@@ -184,13 +184,16 @@ extern void term_end_attr(int attr);
extern void term_end_color(void);
extern void term_end_extracolor(void);
extern void term_end_raw_bold(void);
extern void term_end_screen(void);
extern void term_start_attr(int attr);
extern void term_start_bgcolor(int color);
extern void term_start_color(int color);
extern void term_start_extracolor(uint32, uint16);
extern void term_start_raw_bold(void);
extern void term_start_screen(void);
extern void term_startup(int *, int *);
extern void term_shutdown(void);
extern int xputc(int);
extern void xputs(const char *);
#if 0
@@ -287,10 +290,6 @@ extern void tty_status_init(void);
extern void tty_status_update(int, genericptr_t, int, int,
int, unsigned long *);
/* other defs that really should go away (they're tty specific) */
extern void tty_start_screen(void);
extern void tty_end_screen(void);
extern void genl_outrip(winid, int, time_t);
extern char *tty_getmsghistory(boolean);