aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-wingeneral.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-06 23:55:34 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-06 23:55:34 +0000
commitec7d9e561ff8a802a917d05e2c294436cb07e19f (patch)
tree14b3cfa7d526a87f11fa4c0868f53fafa2531e9b /gdb/tui/tui-wingeneral.h
parent5cbf0477c55c298309273f6873f88e1ac6d19b64 (diff)
downloadgdb-ec7d9e561ff8a802a917d05e2c294436cb07e19f.zip
gdb-ec7d9e561ff8a802a917d05e2c294436cb07e19f.tar.gz
gdb-ec7d9e561ff8a802a917d05e2c294436cb07e19f.tar.bz2
2004-02-06 Andrew Cagney <cagney@redhat.com>
* tui/tui-wingeneral.h: Update copyright. (m_allBeVisible): Delete macro. (m_allBeInvisible): Delete macro. (struct tui_gen_win_info): Declare. (struct tui_win_info): Declare. (tui_unhighlight_win): Rename unhighlightWin. (tui_make_visible, tui_make_invisible): Replace makeVisible. (tui_make_all_visible, tui_make_all_invisible): Replace makeAllVisible. (tui_make_window): Rename makeWindow. (tui_copy_win): Rename copyWin. (tui_box_win): Rename boxWin. (tui_highlight_win): Rename highlightWin. (tui_check_and_display_highlight_if_needed): Rename checkAndDisplayHighlightIfNeeded. (tui_refresh_all): Rename refreshAll. (tui_delete_win): Rename tuiDelwin. (tui_refresh_win): Rename tuiRefreshWin. * tui/tui-wingeneral.c (make_visible): Rename makeVisible. (tui_make_visible, tui_make_invisible): New functions. (tui_make_all_visible, tui_make_all_invisible): New functions. (make_all_visible): Rename makeAllVisible. * tui/tui-winsource.c, tui/tui-windata.c: Update references. * tui/tui-data.c, tui/tui-winsource.c: Update references. * tui/tui-windata.c, tui/tui-win.c: Update references. * tui/tui-regs.c, tui/tui-layout.c: Update references. * tui/tui-data.h (struct tui_gen_win_info): Rename _TuiGenWinInfo.
Diffstat (limited to 'gdb/tui/tui-wingeneral.h')
-rw-r--r--gdb/tui/tui-wingeneral.h49
1 files changed, 26 insertions, 23 deletions
diff --git a/gdb/tui/tui-wingeneral.h b/gdb/tui/tui-wingeneral.h
index 42d1ce4..22ec251 100644
--- a/gdb/tui/tui-wingeneral.h
+++ b/gdb/tui/tui-wingeneral.h
@@ -1,5 +1,8 @@
/* General window behavior.
- Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+
+ Copyright 1998, 1999, 2000, 2001, 2002, 2004 Free Software
+ Foundation, Inc.
+
Contributed by Hewlett-Packard Company.
This file is part of GDB.
@@ -19,31 +22,31 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#ifndef TUI_GENERAL_WIN_H
-#define TUI_GENERAL_WIN_H
-
-/*
- ** Functions
- */
-extern void unhighlightWin (TuiWinInfoPtr);
-extern void makeVisible (TuiGenWinInfoPtr, int);
-extern void makeAllVisible (int);
-extern void makeWindow (TuiGenWinInfoPtr, int);
-extern TuiWinInfoPtr copyWin (TuiWinInfoPtr);
-extern void boxWin (TuiGenWinInfoPtr, int);
-extern void highlightWin (TuiWinInfoPtr);
-extern void checkAndDisplayHighlightIfNeeded (TuiWinInfoPtr);
-extern void refreshAll (TuiWinInfoPtr *);
-extern void tuiDelwin (WINDOW * window);
-extern void tuiRefreshWin (TuiGenWinInfoPtr);
+#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 *);
/*
** Macros
*/
-#define m_beVisible(winInfo) makeVisible((TuiGenWinInfoPtr)(winInfo), TRUE)
+#define m_beVisible(winInfo) makeVisible((struct tui_gen_win_info *)(winInfo), TRUE)
#define m_beInvisible(winInfo) \
- makeVisible((TuiGenWinInfoPtr)(winInfo), FALSE)
-#define m_allBeVisible() makeAllVisible(TRUE)
-#define m_allBeInvisible() makeAllVisible(FALSE)
+ makeVisible((struct tui_gen_win_info *)(winInfo), FALSE)
-#endif /*TUI_GENERAL_WIN_H */
+#endif