tui-layout.h revision 302408
11573Srgrimes/* TUI layout window management.
21573Srgrimes
31573Srgrimes   Copyright 1998, 1999, 2000, 2001, 2002, 2004 Free Software
41573Srgrimes   Foundation, Inc.
51573Srgrimes
61573Srgrimes   Contributed by Hewlett-Packard Company.
71573Srgrimes
81573Srgrimes   This file is part of GDB.
91573Srgrimes
101573Srgrimes   This program is free software; you can redistribute it and/or modify
111573Srgrimes   it under the terms of the GNU General Public License as published by
121573Srgrimes   the Free Software Foundation; either version 2 of the License, or
131573Srgrimes   (at your option) any later version.
141573Srgrimes
151573Srgrimes   This program is distributed in the hope that it will be useful,
161573Srgrimes   but WITHOUT ANY WARRANTY; without even the implied warranty of
171573Srgrimes   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
181573Srgrimes   GNU General Public License for more details.
191573Srgrimes
201573Srgrimes   You should have received a copy of the GNU General Public License
211573Srgrimes   along with this program; if not, write to the Free Software
221573Srgrimes   Foundation, Inc., 59 Temple Place - Suite 330,
231573Srgrimes   Boston, MA 02111-1307, USA.  */
241573Srgrimes
251573Srgrimes#ifndef TUI_LAYOUT_H
261573Srgrimes#define TUI_LAYOUT_H
271573Srgrimes
281573Srgrimes#include "tui/tui.h"
291573Srgrimes#include "tui/tui-data.h"
301573Srgrimes
311573Srgrimesextern void tui_add_win_to_layout (enum tui_win_type);
321573Srgrimesextern int tui_default_win_height (enum tui_win_type, enum tui_layout_type);
331573Srgrimesextern int tui_default_win_viewport_height (enum tui_win_type,
3423662Speter					    enum tui_layout_type);
351573Srgrimesextern enum tui_status tui_set_layout (enum tui_layout_type,
3692986Sobrien				       enum tui_register_display_type);
3792986Sobrien
381573Srgrimes#endif /*TUI_LAYOUT_H */
3991697Stegge