1130803Smarcel/* TUI window generic functions.
2130803Smarcel
3130803Smarcel   Copyright 1998, 1999, 2000, 2001, 2002, 2004 Free Software
4130803Smarcel   Foundation, Inc.
5130803Smarcel
6130803Smarcel   Contributed by Hewlett-Packard Company.
7130803Smarcel
8130803Smarcel   This file is part of GDB.
9130803Smarcel
10130803Smarcel   This program is free software; you can redistribute it and/or modify
11130803Smarcel   it under the terms of the GNU General Public License as published by
12130803Smarcel   the Free Software Foundation; either version 2 of the License, or
13130803Smarcel   (at your option) any later version.
14130803Smarcel
15130803Smarcel   This program is distributed in the hope that it will be useful,
16130803Smarcel   but WITHOUT ANY WARRANTY; without even the implied warranty of
17130803Smarcel   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18130803Smarcel   GNU General Public License for more details.
19130803Smarcel
20130803Smarcel   You should have received a copy of the GNU General Public License
21130803Smarcel   along with this program; if not, write to the Free Software
22130803Smarcel   Foundation, Inc., 59 Temple Place - Suite 330,
23130803Smarcel   Boston, MA 02111-1307, USA.  */
24130803Smarcel
25130803Smarcel#ifndef TUI_WIN_H
26130803Smarcel#define TUI_WIN_H
27130803Smarcel
28130803Smarcel#include "tui/tui-data.h"
29130803Smarcel
30130803Smarcelstruct tui_win_info;
31130803Smarcel
32130803Smarcelextern void tui_scroll_forward (struct tui_win_info *, int);
33130803Smarcelextern void tui_scroll_backward (struct tui_win_info *, int);
34130803Smarcelextern void tui_scroll_left (struct tui_win_info *, int);
35130803Smarcelextern void tui_scroll_right (struct tui_win_info *, int);
36130803Smarcelextern void tui_scroll (enum tui_scroll_direction, struct tui_win_info *, int);
37130803Smarcelextern void tui_set_win_focus_to (struct tui_win_info *);
38130803Smarcelextern void tui_resize_all (void);
39130803Smarcelextern void tui_refresh_all_win (void);
40130803Smarcelextern void tui_sigwinch_handler (int);
41130803Smarcel
42130803Smarcelextern chtype tui_border_ulcorner;
43130803Smarcelextern chtype tui_border_urcorner;
44130803Smarcelextern chtype tui_border_lrcorner;
45130803Smarcelextern chtype tui_border_llcorner;
46130803Smarcelextern chtype tui_border_vline;
47130803Smarcelextern chtype tui_border_hline;
48130803Smarcelextern int tui_border_attrs;
49130803Smarcelextern int tui_active_border_attrs;
50130803Smarcel
51130803Smarcelextern int tui_update_variables (void);
52130803Smarcel
53130803Smarcel/* Update gdb's knowledge of the terminal size.  */
54130803Smarcelextern void tui_update_gdb_sizes (void);
55130803Smarcel
56130803Smarcel/* Create or get the TUI command list.  */
57130803Smarcelstruct cmd_list_element **tui_get_cmd_list ();
58130803Smarcel
59130803Smarcel#endif
60