+2020-07-01 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-stack.h (struct tui_locator_window): Derive from
+ tui_win_info.
+ <do_scroll_horizontal, do_scroll_vertical>: New methods.
+ <can_box>: New method.
+
2020-07-01 Tom Tromey <tom@tromey.com>
* tui/tui-stack.h (struct tui_locator_window): Remove body.
/* Locator window class. */
-struct tui_locator_window : public tui_gen_win_info
+struct tui_locator_window : public tui_win_info
{
tui_locator_window () = default;
return 1;
}
+ bool can_box () const override
+ {
+ return false;
+ }
+
void rerender () override;
/* Update the locator, with the provided arguments.
/* Architecture associated with code at this location. */
struct gdbarch *gdbarch = nullptr;
+protected:
+
+ void do_scroll_vertical (int n) override
+ {
+ }
+
+ void do_scroll_horizontal (int n) override
+ {
+ }
+
private:
/* Create the status line to display as much information as we can