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:
@@ -5152,16 +5152,6 @@ void NetHackQtBind::qt_delay_output()
|
||||
delay.wait();
|
||||
}
|
||||
|
||||
void NetHackQtBind::qt_start_screen()
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
|
||||
void NetHackQtBind::qt_end_screen()
|
||||
{
|
||||
// Ignore.
|
||||
}
|
||||
|
||||
void NetHackQtBind::qt_outrip(winid wid, int how, time_t when)
|
||||
{
|
||||
NetHackQtWindow* window=id_to_window[wid];
|
||||
@@ -5285,9 +5275,6 @@ struct window_procs Qt_procs = {
|
||||
donull,
|
||||
donull,
|
||||
#endif
|
||||
/* other defs that really should go away (they're tty specific) */
|
||||
NetHackQtBind::qt_start_screen,
|
||||
NetHackQtBind::qt_end_screen,
|
||||
#ifdef GRAPHIC_TOMBSTONE
|
||||
NetHackQtBind::qt_outrip,
|
||||
#else
|
||||
|
||||
@@ -877,8 +877,6 @@ class NetHackQtBind : NetHackQtBindBase
|
||||
static int qt_get_ext_cmd();
|
||||
static void qt_number_pad(int);
|
||||
static void qt_delay_output();
|
||||
static void qt_start_screen();
|
||||
static void qt_end_screen();
|
||||
|
||||
static void qt_outrip(winid wid, int how, time_t when);
|
||||
static int qt_kbhit();
|
||||
|
||||
@@ -69,8 +69,7 @@ struct window_procs Gem_procs = {
|
||||
Gem_get_color_string,
|
||||
#endif
|
||||
|
||||
/* other defs that really should go away (they're tty specific) */
|
||||
Gem_start_screen, Gem_end_screen, Gem_outrip, Gem_preference_update,
|
||||
Gem_outrip, Gem_preference_update,
|
||||
genl_getmsghistory, genl_putmsghistory
|
||||
genl_status_init,
|
||||
genl_status_finish, genl_status_enablefield, genl_status_update,
|
||||
@@ -523,16 +522,6 @@ Gem_resume_nhwindows()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
Gem_end_screen()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
Gem_start_screen()
|
||||
{
|
||||
}
|
||||
|
||||
extern void mar_exit_nhwindows(void);
|
||||
extern boolean run_from_desktop;
|
||||
|
||||
|
||||
@@ -44,8 +44,7 @@ struct window_procs Gnome_procs = {
|
||||
#ifdef CHANGE_COLOR /* only a Mac option currently */
|
||||
donull, donull,
|
||||
#endif
|
||||
/* other defs that really should go away (they're tty specific) */
|
||||
gnome_start_screen, gnome_end_screen, gnome_outrip,
|
||||
gnome_outrip,
|
||||
genl_preference_update, genl_getmsghistory, genl_putmsghistory,
|
||||
genl_status_init, genl_status_finish, genl_status_enablefield,
|
||||
genl_status_update,
|
||||
@@ -1132,29 +1131,6 @@ gnome_delay_output()
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
start_screen() -- Only used on Unix tty ports, but must be declared for
|
||||
completeness. Sets up the tty to work in full-screen
|
||||
graphics mode. Look at win/tty/termcap.c for an
|
||||
example. If your window-port does not need this function
|
||||
just declare an empty function.
|
||||
*/
|
||||
void
|
||||
gnome_start_screen()
|
||||
{
|
||||
/* Do Nothing */
|
||||
}
|
||||
|
||||
/*
|
||||
end_screen() -- Only used on Unix tty ports, but must be declared for
|
||||
completeness. The complement of start_screen().
|
||||
*/
|
||||
void
|
||||
gnome_end_screen()
|
||||
{
|
||||
/* Do Nothing */
|
||||
}
|
||||
|
||||
/*
|
||||
outrip(winid, int, when)
|
||||
-- The tombstone code. If you want the traditional code use
|
||||
|
||||
@@ -80,8 +80,6 @@ void gnome_getlin(const char *question, char *input);
|
||||
int gnome_get_ext_cmd(void);
|
||||
void gnome_number_pad(int state);
|
||||
void gnome_delay_output(void);
|
||||
void gnome_start_screen(void);
|
||||
void gnome_end_screen(void);
|
||||
void gnome_outrip(winid wid, int how, time_t when);
|
||||
void gnome_delete_nhwindow_by_reference(GtkWidget *menuWin);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user