Derive tui_locator_window from tui_win_info
authorTom Tromey <tom@tromey.com>
Thu, 2 Jul 2020 03:21:12 +0000 (21:21 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 2 Jul 2020 03:21:16 +0000 (21:21 -0600)
commita30cb6dabb20e26dc80b0952ae709613372359f8
treea4c1c203ba7b90c6e50d68da654d350eb2f50dbf
parent1eb2161f83babfad2f384efdadf49aa5c2f70860
Derive tui_locator_window from tui_win_info

tui_locator_window is the last remaining concrete child class of
tui_gen_win_info.  It seems a bit cleaner to me to flatten the
hierarchy a bit; this patch prepares for that by changing
tui_locator_window to derive from tui_win_info.

gdb/ChangeLog
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.
gdb/ChangeLog
gdb/tui/tui-stack.h