1999-04-16 03:35:26 +02:00
|
|
|
#ifndef TUI_GENERAL_WIN_H
|
|
|
|
#define TUI_GENERAL_WIN_H
|
|
|
|
|
|
|
|
/*
|
1999-07-07 22:19:36 +02:00
|
|
|
** Functions
|
|
|
|
*/
|
2000-05-28 03:12:42 +02: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 03:35:26 +02:00
|
|
|
|
|
|
|
/*
|
1999-07-07 22:19:36 +02:00
|
|
|
** Macros
|
|
|
|
*/
|
1999-04-16 03:35:26 +02: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 22:19:36 +02:00
|
|
|
#endif /*TUI_GENERAL_WIN_H */
|