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 chainin_set_font_name(winid, char *);
char *chainin_get_color_string(void);
#endif
/* other defs that really should go away (they're tty specific) */
void chainin_start_screen(void);
void chainin_end_screen(void);
void chainin_outrip(winid, int, time_t);
void chainin_preference_update(const char *);
char *chainin_getmsghistory(boolean);
@@ -489,19 +486,6 @@ trace_get_color_string(void)
#endif
/* other defs that really should go away (they're tty specific) */
void
chainin_start_screen(void)
{
(*cibase->nprocs->win_start_screen)(cibase->ndata);
}
void
chainin_end_screen(void)
{
(*cibase->nprocs->win_end_screen)(cibase->ndata);
}
void
chainin_outrip(
winid tmpwin,
@@ -629,8 +613,6 @@ struct window_procs chainin_procs = {
chainin_get_color_string,
#endif
chainin_start_screen, chainin_end_screen,
chainin_outrip, chainin_preference_update, chainin_getmsghistory,
chainin_putmsghistory,
chainin_status_init, chainin_status_finish, chainin_status_enablefield,

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,

View File

@@ -91,9 +91,6 @@ short trace_set_font_name(void *,winid, char *);
char *trace_get_color_string(void *);
#endif
/* other defs that really should go away (they're tty specific) */
void trace_start_screen(void *);
void trace_end_screen(void *);
void trace_outrip(void *,winid, int, time_t);
void trace_preference_update(void *,const char *);
char *trace_getmsghistory(void *,boolean);
@@ -1011,31 +1008,6 @@ trace_get_color_string(void *vp)
#endif
/* other defs that really should go away (they're tty specific) */
void
trace_start_screen(void *vp)
{
struct trace_data *tdp = vp;
fprintf(wc_tracelogf, "%sstart_screen()\n", INDENT);
PRE;
(*tdp->nprocs->win_start_screen)(tdp->ndata);
POST;
}
void
trace_end_screen(void *vp)
{
struct trace_data *tdp = vp;
fprintf(wc_tracelogf, "%send_screen()\n", INDENT);
PRE;
(*tdp->nprocs->win_end_screen)(tdp->ndata);
POST;
}
void
trace_outrip(
void *vp,
@@ -1245,8 +1217,6 @@ struct chain_procs trace_procs = {
trace_get_color_string,
#endif
trace_start_screen, trace_end_screen,
trace_outrip, trace_preference_update, trace_getmsghistory,
trace_putmsghistory,
trace_status_init, trace_status_finish, trace_status_enablefield,