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

@@ -59,9 +59,6 @@ short chainout_set_font_name(void *,winid, char *);
char *chainout_get_color_string(void *);
#endif
/* other defs that really should go away (they're tty specific) */
void chainout_start_screen(void *);
void chainout_end_screen(void *);
void chainout_outrip(void *,winid, int, time_t);
void chainout_preference_update(void *,const char *);
char *chainout_getmsghistory(void *,boolean);
@@ -582,23 +579,6 @@ trace_get_color_string(void *vp)
#endif
/* other defs that really should go away (they're tty specific) */
void
chainout_start_screen(void *vp)
{
struct chainout_data *tdp = vp;
(*tdp->nprocs->win_start_screen)();
}
void
chainout_end_screen(void *vp)
{
struct chainout_data *tdp = vp;
(*tdp->nprocs->win_end_screen)();
}
void
chainout_outrip(
void *vp,
@@ -755,8 +735,6 @@ struct chain_procs chainout_procs = {
chainout_get_color_string,
#endif
chainout_start_screen, chainout_end_screen,
chainout_outrip, chainout_preference_update, chainout_getmsghistory,
chainout_putmsghistory,
chainout_status_init, chainout_status_finish, chainout_status_enablefield,