binutils-gdb/gdb/tui
Tom Tromey ab0e1f1a45 Change tui_make_window to be a method
I combined several small changes into one patch here.  I believe I
started by noticing that the "title" is not needed by tui_gen_win_info
and could be self-managing (i.e. std::string).  Moving this revealed
that "can_box" is also a property of tui_win_info and not
tui_gen_win_info; and this in turn caused the changes to
tui_make_window and box_win.

2019-08-20  Tom Tromey  <tom@tromey.com>

	* tui/tui-wingeneral.h (tui_make_window): Don't declare.
	* tui/tui-wingeneral.c (box_win): Change type of win_info.
	(box_win): Update.
	(tui_gen_win_info::make_window): Rename from tui_make_window.
	(tui_win_info::make_window): New method.
	(tui_gen_win_info::make_visible): Update.
	* tui/tui-source.c (tui_source_window::set_contents): Update.
	* tui/tui-regs.c (tui_data_window::show_register_group): Update.
	(tui_data_window::display_registers_from): Update.
	* tui/tui-layout.c (tui_gen_win_info::resize): Update.
	* tui/tui-data.h (struct tui_gen_win_info) <make_window>:
	Declare.
	<can_box>: Remove.
	<title>: Remove.
	(struct tui_win_info) <make_window>: Declare.
	<can_box>: Now virtual.
	<title>: New member.
	* tui/tui-data.c (~tui_gen_win_info): Don't free title.
	* tui/tui-command.c (tui_cmd_window::resize): Update.
2019-08-20 16:45:50 -06:00
..
ChangeLog-1998-2003
tui-command.c Change tui_make_window to be a method 2019-08-20 16:45:50 -06:00
tui-command.h TUI resize unification 2019-08-15 14:17:11 -06:00
tui-data.c Change tui_make_window to be a method 2019-08-20 16:45:50 -06:00
tui-data.h Change tui_make_window to be a method 2019-08-20 16:45:50 -06:00
tui-disasm.c Remove the TUI execution info window 2019-08-16 14:17:36 -06:00
tui-disasm.h Some i18n fixes for the TUI 2019-08-20 16:22:03 -06:00
tui-file.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-file.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-hooks.c Change tui_check_register_values to be a method 2019-08-20 16:45:50 -06:00
tui-hooks.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-interp.c Remove tui_initialize_static_data 2019-08-15 12:29:28 -06:00
tui-io.c Change tui_data_item_window::content to be a unique_xmalloc_ptr 2019-08-20 16:45:50 -06:00
tui-io.h Change tui_data_item_window::content to be a unique_xmalloc_ptr 2019-08-20 16:45:50 -06:00
tui-layout.c Change tui_make_window to be a method 2019-08-20 16:45:50 -06:00
tui-layout.h Make tui_default_win_height static 2019-08-13 14:52:09 -06:00
tui-out.c Rename field_int to field_signed 2019-07-17 10:34:05 -06:00
tui-out.h Rename field_int to field_signed 2019-07-17 10:34:05 -06:00
tui-regs.c Change tui_make_window to be a method 2019-08-20 16:45:50 -06:00
tui-regs.h Remove tui_data_window::display_regs 2019-08-20 16:45:50 -06:00
tui-source.c Change tui_make_window to be a method 2019-08-20 16:45:50 -06:00
tui-source.h Some i18n fixes for the TUI 2019-08-20 16:22:03 -06:00
tui-stack.c TUI resize unification 2019-08-15 14:17:11 -06:00
tui-stack.h TUI resize unification 2019-08-15 14:17:11 -06:00
tui-win.c Remove separate visibility flag 2019-08-16 11:28:33 -06:00
tui-win.h Introduce methods for scrolling 2019-06-25 07:48:28 -06:00
tui-wingeneral.c Change tui_make_window to be a method 2019-08-20 16:45:50 -06:00
tui-wingeneral.h Change tui_make_window to be a method 2019-08-20 16:45:50 -06:00
tui-winsource.c Remove the TUI execution info window 2019-08-16 14:17:36 -06:00
tui-winsource.h Remove the TUI execution info window 2019-08-16 14:17:36 -06:00
tui.c Remove separate visibility flag 2019-08-16 11:28:33 -06:00
tui.h Remove the TUI execution info window 2019-08-16 14:17:36 -06:00