From 14cd51f7793a9ce07bc435069f57269450141363 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Fri, 16 Apr 1999 01:35:26 +0000 Subject: Initial revision --- gdb/tui/tuiGeneralWin.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 gdb/tui/tuiGeneralWin.h (limited to 'gdb/tui/tuiGeneralWin.h') diff --git a/gdb/tui/tuiGeneralWin.h b/gdb/tui/tuiGeneralWin.h new file mode 100644 index 00000000000..559f8ab3339 --- /dev/null +++ b/gdb/tui/tuiGeneralWin.h @@ -0,0 +1,31 @@ +#ifndef TUI_GENERAL_WIN_H +#define TUI_GENERAL_WIN_H + +/* +** Functions +*/ +extern void tuiClearWin PARAMS ((TuiGenWinInfoPtr)); +extern void unhighlightWin PARAMS ((TuiWinInfoPtr)); +extern void makeVisible PARAMS ((TuiGenWinInfoPtr, int)); +extern void makeAllVisible PARAMS ((int)); +extern void scrollWinForward PARAMS ((TuiGenWinInfoPtr, int)); +extern void scrollWinBackward PARAMS ((TuiGenWinInfoPtr, int)); +extern void makeWindow PARAMS ((TuiGenWinInfoPtr, int)); +extern TuiWinInfoPtr copyWin PARAMS ((TuiWinInfoPtr)); +extern void boxWin PARAMS ((TuiGenWinInfoPtr, int)); +extern void highlightWin PARAMS ((TuiWinInfoPtr)); +extern void checkAndDisplayHighlightIfNeeded PARAMS ((TuiWinInfoPtr)); +extern void refreshAll PARAMS ((TuiWinInfoPtr *)); +extern void tuiDelwin PARAMS ((WINDOW *window)); +extern void tuiRefreshWin PARAMS ((TuiGenWinInfoPtr)); + +/* +** Macros +*/ +#define m_beVisible(winInfo) makeVisible((TuiGenWinInfoPtr)(winInfo), TRUE) +#define m_beInvisible(winInfo) \ + makeVisible((TuiGenWinInfoPtr)(winInfo), FALSE) +#define m_allBeVisible() makeAllVisible(TRUE) +#define m_allBeInvisible() makeAllVisible(FALSE) + +#endif /*TUI_GENERAL_WIN_H*/ -- cgit v1.2.1