xref: /dragonfly/contrib/gdb-7/gdb/tui/tui-layout.h (revision 479ab7f0)
1 /* TUI layout window management.
2 
3    Copyright (C) 1998-2013 Free Software Foundation, Inc.
4 
5    Contributed by Hewlett-Packard Company.
6 
7    This file is part of GDB.
8 
9    This program is free software; you can redistribute it and/or modify
10    it under the terms of the GNU General Public License as published by
11    the Free Software Foundation; either version 3 of the License, or
12    (at your option) any later version.
13 
14    This program is distributed in the hope that it will be useful,
15    but WITHOUT ANY WARRANTY; without even the implied warranty of
16    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17    GNU General Public License for more details.
18 
19    You should have received a copy of the GNU General Public License
20    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
21 
22 #ifndef TUI_LAYOUT_H
23 #define TUI_LAYOUT_H
24 
25 #include "tui/tui.h"
26 #include "tui/tui-data.h"
27 
28 extern void tui_add_win_to_layout (enum tui_win_type);
29 extern int tui_default_win_height (enum tui_win_type,
30 				   enum tui_layout_type);
31 extern int tui_default_win_viewport_height (enum tui_win_type,
32 					    enum tui_layout_type);
33 extern enum tui_status tui_set_layout (enum tui_layout_type,
34 				       enum tui_register_display_type);
35 
36 #endif /*TUI_LAYOUT_H */
37