Move max_height method to tui_gen_win_info
authorTom Tromey <tom@tromey.com>
Mon, 7 Oct 2019 22:59:02 +0000 (16:59 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 11 Dec 2019 22:48:59 +0000 (15:48 -0700)
commitc8ec2f433c54dae7746db144a872da6f808e5d73
tree63652ad36846aaf282642c09bfa1f94d381a3094
parent4decd62b214e9cb3e66f5e90b28cfab9062c1464
Move max_height method to tui_gen_win_info

This moves the max_height method to tui_gen_win_info and implements it
in the subclasses.  This is used by a subsequent patch, which will
normalize window layout across all window types.

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

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

Change-Id: I4ba3e8899bc4668328d3d78e3c1674c61882450d
gdb/ChangeLog
gdb/tui/tui-data.h
gdb/tui/tui-regs.h
gdb/tui/tui-stack.h
This page took 0.026001 seconds and 4 git commands to generate.