+2019-08-13 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-winsource.h (struct tui_source_window_base)
+ <clear_detail>: No longer "override".
+ * tui/tui-regs.h (struct tui_data_window) <clear_detail>: Remove.
+ * tui/tui-regs.c (tui_data_window::clear_detail): Remove.
+ * tui/tui-data.h (struct tui_win_info) <clear_detail>: Remove.
+ * tui/tui-command.h (struct tui_cmd_window) <clear_detail>:
+ Remove.
+ * tui/tui-command.c (tui_cmd_window::clear_detail): Remove.
+
2019-08-13 Tom Tromey <tromey@adacore.com>
* tracepoint.c: Don't include readline.h or history.h.
/* See tui-command.h. */
-void
-tui_cmd_window::clear_detail ()
-{
- wmove (handle, 0, 0);
-}
-
-/* See tui-command.h. */
-
void
tui_cmd_window::do_make_visible_with_new_height ()
{
DISABLE_COPY_AND_ASSIGN (tui_cmd_window);
- void clear_detail () override;
-
void make_visible (bool visible) override
{
}
{
}
- /* Clear the pertinent detail in the window. */
- virtual void clear_detail () = 0;
-
/* Called after all the TUI windows are refreshed, to let this
window have a chance to update itself further. */
virtual void refresh_all ()
/* See tui-regs.h. */
-void
-tui_data_window::clear_detail ()
-{
- regs_content.clear ();
- regs_column_count = 1;
- display_regs = false;
-}
-
-/* See tui-regs.h. */
-
void
tui_data_window::set_new_height (int height)
{
DISABLE_COPY_AND_ASSIGN (tui_data_window);
- void clear_detail () override;
void refresh_all () override;
void set_new_height (int height) override;
public:
- void clear_detail () override;
+ void clear_detail ();
void make_visible (bool visible) override;
void refresh_window () override;