Commit | Line | Data |
---|---|---|
c906108c SS |
1 | #ifndef TUI_GENERAL_WIN_H |
2 | #define TUI_GENERAL_WIN_H | |
3 | ||
4 | /* | |
c5aa993b JM |
5 | ** Functions |
6 | */ | |
a14ed312 KB |
7 | extern void tuiClearWin (TuiGenWinInfoPtr); |
8 | extern void unhighlightWin (TuiWinInfoPtr); | |
9 | extern void makeVisible (TuiGenWinInfoPtr, int); | |
10 | extern void makeAllVisible (int); | |
11 | extern void scrollWinForward (TuiGenWinInfoPtr, int); | |
12 | extern void scrollWinBackward (TuiGenWinInfoPtr, int); | |
13 | extern void makeWindow (TuiGenWinInfoPtr, int); | |
14 | extern TuiWinInfoPtr copyWin (TuiWinInfoPtr); | |
15 | extern void boxWin (TuiGenWinInfoPtr, int); | |
16 | extern void highlightWin (TuiWinInfoPtr); | |
17 | extern void checkAndDisplayHighlightIfNeeded (TuiWinInfoPtr); | |
18 | extern void refreshAll (TuiWinInfoPtr *); | |
19 | extern void tuiDelwin (WINDOW * window); | |
20 | extern void tuiRefreshWin (TuiGenWinInfoPtr); | |
c906108c SS |
21 | |
22 | /* | |
c5aa993b JM |
23 | ** Macros |
24 | */ | |
c906108c SS |
25 | #define m_beVisible(winInfo) makeVisible((TuiGenWinInfoPtr)(winInfo), TRUE) |
26 | #define m_beInvisible(winInfo) \ | |
27 | makeVisible((TuiGenWinInfoPtr)(winInfo), FALSE) | |
28 | #define m_allBeVisible() makeAllVisible(TRUE) | |
29 | #define m_allBeInvisible() makeAllVisible(FALSE) | |
30 | ||
c5aa993b | 31 | #endif /*TUI_GENERAL_WIN_H */ |