Introduce the tui_gen_win_info::min_height method
authorTom Tromey <tom@tromey.com>
Mon, 7 Oct 2019 23:36:49 +0000 (17:36 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 11 Dec 2019 22:49:00 +0000 (15:49 -0700)
commitdc7ff8a60818f002d7b759210202e0aaabfeebc3
treeaab2731154853caf72ce141b5a88001b661f64c8
parent1431937bee66d6a36c377156d07856f6e469e552
Introduce the tui_gen_win_info::min_height method

This introduces a new method, tui_gen_win_info::min_height, to fetch
the minimum height of a window.  This is used in the subsequent
unified layout patch.

gdb/ChangeLog
2019-12-11  Tom Tromey  <tom@tromey.com>

* tui/tui-stack.h (struct tui_locator_window) <min_height>:
Implement.
* tui/tui-regs.h (struct tui_data_item_window) <min_height>:
Implement.
* tui/tui-data.h (struct tui_gen_win_info) <min_height>: New
method.
(struct tui_win_info) <min_height>: Implement.

Change-Id: Id33baffdf041fde072e15c1ff89b75f8b8118adb
gdb/ChangeLog
gdb/tui/tui-data.h
gdb/tui/tui-regs.h
gdb/tui/tui-stack.h