1999-04-16 01:35:26 +00:00
|
|
|
#ifndef TUI_GENERAL_WIN_H
|
|
|
|
#define TUI_GENERAL_WIN_H
|
|
|
|
|
|
|
|
/*
|
1999-07-07 20:19:36 +00:00
|
|
|
** Functions
|
|
|
|
*/
|
2000-05-28 01:12:42 +00:00
|
|
|
extern void tuiClearWin (TuiGenWinInfoPtr);
|
|
|
|
extern void unhighlightWin (TuiWinInfoPtr);
|
|
|
|
extern void makeVisible (TuiGenWinInfoPtr, int);
|
|
|
|
extern void makeAllVisible (int);
|
|
|
|
extern void scrollWinForward (TuiGenWinInfoPtr, int);
|
|
|
|
extern void scrollWinBackward (TuiGenWinInfoPtr, 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);
|
1999-04-16 01:35:26 +00:00
|
|
|
|
|
|
|
/*
|
1999-07-07 20:19:36 +00:00
|
|
|
** Macros
|
|
|
|
*/
|
1999-04-16 01:35:26 +00:00
|
|
|
#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)
|
|
|
|
|
1999-07-07 20:19:36 +00:00
|
|
|
#endif /*TUI_GENERAL_WIN_H */
|