aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-wingeneral.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-07-05 12:29:18 -0600
committerTom Tromey <tom@tromey.com>2019-08-13 14:52:09 -0600
commit3f3ffe54e229482bdb0785ae2162f03d60870400 (patch)
treef8a5c7ae3054cb1661cb92c91277824ab5c31264 /gdb/tui/tui-wingeneral.h
parent69258091762bce83b0f3dc9e07800b87bdc0649f (diff)
downloadgdb-3f3ffe54e229482bdb0785ae2162f03d60870400.zip
gdb-3f3ffe54e229482bdb0785ae2162f03d60870400.tar.gz
gdb-3f3ffe54e229482bdb0785ae2162f03d60870400.tar.bz2
Simplify tui_make_all_invisible
This simplifies the implementation of tui_make_all_invisible. Also, because show_data is only called by show_layout, this hoists the call to tui_make_all_invisible and removes the call from show_data. gdb/ChangeLog 2019-08-13 Tom Tromey <tom@tromey.com> * tui/tui-wingeneral.c (make_all_visible): Remove. (tui_make_all_invisible): Simplify. * tui/tui-layout.c (tui_make_all_invisible): Move from tui-wingeneral.c; simplify. (show_layout): Hoist call to tui_make_all_invisible. (show_data): Don't call tui_make_all_invisible.
Diffstat (limited to 'gdb/tui/tui-wingeneral.h')
-rw-r--r--gdb/tui/tui-wingeneral.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/tui/tui-wingeneral.h b/gdb/tui/tui-wingeneral.h
index 3c035aa..051be6d 100644
--- a/gdb/tui/tui-wingeneral.h
+++ b/gdb/tui/tui-wingeneral.h
@@ -27,8 +27,10 @@
struct tui_win_info;
struct tui_gen_win_info;
-extern void tui_unhighlight_win (struct tui_win_info *);
+/* Makes all windows invisible. */
extern void tui_make_all_invisible (void);
+
+extern void tui_unhighlight_win (struct tui_win_info *);
extern void tui_make_window (struct tui_gen_win_info *, enum tui_box);
extern void tui_highlight_win (struct tui_win_info *);
extern void tui_check_and_display_highlight_if_needed (struct tui_win_info *);