6d012f143d
* tui/tui.h: Do not include <stdarg.h>, <string.h>, and "ansidecl.h". Do not undef "reg" and "chtype". Fix case of fields and variables. * tui/tui-wingeneral.h (m_beVisible): Delete macro. (m_beInvisible): Delete macro. * tui/tui-data.h: Fix case case fields and variables. (m_genWinPtrIsNull): Delete macro. (tui_win_list): Rename winList. (TUI_SRC_WIN): Rename srcWin. (TUI_DISASM_WIN): Rename disassemWin. (TUI_DATA_WIN): Rename dataWin. (TUI_CMD_WIN): Rename cmdWin. (m_genWinPtrNotNull): Delete macro. (m_winPtrIsNull): Delete macro. (m_winPtrNotNull): Delete macro. (tui_win_is_source_type): Replace m_winIsSourceType (tui_win_is_auxillary): Replace m_winIsAuzillary. (tui_win_has_locator): Replace m_hasLocator. (tui_set_win_highlight): Replace m_setWinHighlightOn and m_setWinHighlightOff. * tui/tui-data.c: Update references. (tui_win_is_source_type, tui_set_win_highlight): New functions. (tui_win_has_locator, tui_win_is_auxillary): New functions. * tui/tui-command.c, tui/tui-disasm.c: Update references. * tui/tui-io.c, tui/tui-layout.c, tui/tui-regs.c: Ditto. * tui/tui-regs.h, tui/tui-source.c, tui/tui-stack.c: Ditto. * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto. * tui/tui-winsource.c, tui/tui.c: Ditto.
46 lines
1.7 KiB
C
46 lines
1.7 KiB
C
/* General window behavior.
|
|
|
|
Copyright 1998, 1999, 2000, 2001, 2002, 2004 Free Software
|
|
Foundation, Inc.
|
|
|
|
Contributed by Hewlett-Packard Company.
|
|
|
|
This file is part of GDB.
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place - Suite 330,
|
|
Boston, MA 02111-1307, USA. */
|
|
|
|
#ifndef TUI_WINGENERAL_H
|
|
#define TUI_WINGENERAL_H
|
|
|
|
struct tui_win_info;
|
|
struct tui_gen_win_info;
|
|
|
|
extern void tui_unhighlight_win (struct tui_win_info *);
|
|
extern void tui_make_visible (struct tui_gen_win_info *);
|
|
extern void tui_make_invisible (struct tui_gen_win_info *);
|
|
extern void tui_make_all_visible (void);
|
|
extern void tui_make_all_invisible (void);
|
|
extern void tui_make_window (struct tui_gen_win_info *, int);
|
|
extern struct tui_win_info *tui_copy_win (struct tui_win_info *);
|
|
extern void tui_box_win (struct tui_gen_win_info *, int);
|
|
extern void tui_highlight_win (struct tui_win_info *);
|
|
extern void tui_check_and_display_highlight_if_needed (struct tui_win_info *);
|
|
extern void tui_refresh_all (struct tui_win_info **);
|
|
extern void tui_delete_win (WINDOW * window);
|
|
extern void tui_refresh_win (struct tui_gen_win_info *);
|
|
|
|
#endif
|