GDB (API)
|
00001 /* TUI window generic functions. 00002 00003 Copyright (C) 1998-2013 Free Software Foundation, Inc. 00004 00005 Contributed by Hewlett-Packard Company. 00006 00007 This file is part of GDB. 00008 00009 This program is free software; you can redistribute it and/or modify 00010 it under the terms of the GNU General Public License as published by 00011 the Free Software Foundation; either version 3 of the License, or 00012 (at your option) any later version. 00013 00014 This program is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00021 00022 #ifndef TUI_WIN_H 00023 #define TUI_WIN_H 00024 00025 #include "tui/tui-data.h" 00026 00027 struct tui_win_info; 00028 00029 extern void tui_scroll_forward (struct tui_win_info *, int); 00030 extern void tui_scroll_backward (struct tui_win_info *, int); 00031 extern void tui_scroll_left (struct tui_win_info *, int); 00032 extern void tui_scroll_right (struct tui_win_info *, int); 00033 extern void tui_scroll (enum tui_scroll_direction, 00034 struct tui_win_info *, int); 00035 extern void tui_set_win_focus_to (struct tui_win_info *); 00036 extern void tui_resize_all (void); 00037 extern void tui_refresh_all_win (void); 00038 00039 extern chtype tui_border_ulcorner; 00040 extern chtype tui_border_urcorner; 00041 extern chtype tui_border_lrcorner; 00042 extern chtype tui_border_llcorner; 00043 extern chtype tui_border_vline; 00044 extern chtype tui_border_hline; 00045 extern int tui_border_attrs; 00046 extern int tui_active_border_attrs; 00047 00048 extern int tui_update_variables (void); 00049 00050 extern void tui_initialize_win (void); 00051 00052 /* Update gdb's knowledge of the terminal size. */ 00053 extern void tui_update_gdb_sizes (void); 00054 00055 /* Create or get the TUI command list. */ 00056 struct cmd_list_element **tui_get_cmd_list (void); 00057 00058 #endif