]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Change tui_make_status_line to be a method
authorTom Tromey <tom@tromey.com>
Tue, 23 Jul 2019 22:43:20 +0000 (16:43 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 20 Sep 2019 19:49:05 +0000 (13:49 -0600)
commit71a25ed2e77fd72e01d38aa84f5a0fbe5f081474
tree423c0557ab025c8ea8ba0acc0891588cd1d306d7
parentf85321544357a44a824d9d31fd57ed4d3aae1a4a
Change tui_make_status_line to be a method

This changes tui_make_status_line to be a method on
tui_locator_window.  This is a minor cleanup.

This also changes the new method to use the locator's width, rather
than the terminal width.  This is important if we ever want to allow
windows to be made more narrow.

gdb/ChangeLog
2019-09-20  Tom Tromey  <tom@tromey.com>

* tui/tui-stack.h (struct tui_locator_window) <make_status_line>:
Declare.
* tui/tui-stack.c (tui_locator_window::make_status_line): Rename
from tui_make_status_line.
(tui_locator_window::rerender): Update.
gdb/ChangeLog
gdb/tui/tui-stack.c
gdb/tui/tui-stack.h