Commit | Line | Data |
---|---|---|
f377b406 SC |
1 | /* General window behavior. |
2 | Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc. | |
3 | Contributed by Hewlett-Packard Company. | |
4 | ||
5 | This file is part of GDB. | |
6 | ||
7 | This program is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 2 of the License, or | |
10 | (at your option) any later version. | |
11 | ||
12 | This program is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with this program; if not, write to the Free Software | |
19 | Foundation, Inc., 59 Temple Place - Suite 330, | |
20 | Boston, MA 02111-1307, USA. */ | |
21 | ||
c906108c SS |
22 | #ifndef TUI_GENERAL_WIN_H |
23 | #define TUI_GENERAL_WIN_H | |
24 | ||
25 | /* | |
c5aa993b JM |
26 | ** Functions |
27 | */ | |
a14ed312 KB |
28 | extern void tuiClearWin (TuiGenWinInfoPtr); |
29 | extern void unhighlightWin (TuiWinInfoPtr); | |
30 | extern void makeVisible (TuiGenWinInfoPtr, int); | |
31 | extern void makeAllVisible (int); | |
32 | extern void scrollWinForward (TuiGenWinInfoPtr, int); | |
33 | extern void scrollWinBackward (TuiGenWinInfoPtr, int); | |
34 | extern void makeWindow (TuiGenWinInfoPtr, int); | |
35 | extern TuiWinInfoPtr copyWin (TuiWinInfoPtr); | |
36 | extern void boxWin (TuiGenWinInfoPtr, int); | |
37 | extern void highlightWin (TuiWinInfoPtr); | |
38 | extern void checkAndDisplayHighlightIfNeeded (TuiWinInfoPtr); | |
39 | extern void refreshAll (TuiWinInfoPtr *); | |
40 | extern void tuiDelwin (WINDOW * window); | |
41 | extern void tuiRefreshWin (TuiGenWinInfoPtr); | |
c906108c SS |
42 | |
43 | /* | |
c5aa993b JM |
44 | ** Macros |
45 | */ | |
c906108c SS |
46 | #define m_beVisible(winInfo) makeVisible((TuiGenWinInfoPtr)(winInfo), TRUE) |
47 | #define m_beInvisible(winInfo) \ | |
48 | makeVisible((TuiGenWinInfoPtr)(winInfo), FALSE) | |
49 | #define m_allBeVisible() makeAllVisible(TRUE) | |
50 | #define m_allBeInvisible() makeAllVisible(FALSE) | |
51 | ||
c5aa993b | 52 | #endif /*TUI_GENERAL_WIN_H */ |