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