aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tuiGeneralWin.h
blob: 3bd0f16392417d8fa8d3a79ad48349dbe819ea71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef TUI_GENERAL_WIN_H
#define TUI_GENERAL_WIN_H

/*
   ** Functions
 */
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);

/*
   ** 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 */