1 #ifndef _TUI_SOURCEWIN_H
2 #define _TUI_SOURCEWIN_H
4 ** This header file supports
8 extern void tuiDisplayMainFunction (void);
9 extern void tuiUpdateSourceWindow (TuiWinInfoPtr
, struct symtab
*, Opaque
,
11 extern void tuiUpdateSourceWindowAsIs (TuiWinInfoPtr
, struct symtab
*, Opaque
,
13 extern void tuiUpdateSourceWindowsWithAddr (Opaque
);
14 extern void tui_vUpdateSourceWindowsWithAddr (va_list);
15 extern void tuiUpdateSourceWindowsWithLine (struct symtab
*, int);
16 extern void tui_vUpdateSourceWindowsWithLine (va_list);
17 extern void tuiUpdateSourceWindowsFromLocator (void);
18 extern void tuiClearSourceContent (TuiWinInfoPtr
, int);
19 extern void tuiClearAllSourceWinsContent (int);
20 extern void tuiEraseSourceContent (TuiWinInfoPtr
, int);
21 extern void tuiEraseAllSourceWinsContent (int);
22 extern void tuiSetSourceContentNil (TuiWinInfoPtr
, char *);
23 extern void tuiShowSourceContent (TuiWinInfoPtr
);
24 extern void tuiShowAllSourceWinsContent (void);
25 extern void tuiHorizontalSourceScroll (TuiWinInfoPtr
, TuiScrollDirection
,
27 extern void tuiUpdateOnEnd (void);
29 extern TuiStatus
tuiSetExecInfoContent (TuiWinInfoPtr
);
30 extern void tuiShowExecInfoContent (TuiWinInfoPtr
);
31 extern void tuiShowAllExecInfosContent (void);
32 extern void tuiEraseExecInfoContent (TuiWinInfoPtr
);
33 extern void tuiEraseAllExecInfosContent (void);
34 extern void tuiClearExecInfoContent (TuiWinInfoPtr
);
35 extern void tuiClearAllExecInfosContent (void);
36 extern void tuiUpdateExecInfo (TuiWinInfoPtr
);
37 extern void tuiUpdateAllExecInfos (void);
39 extern void tuiSetIsExecPointAt (Opaque
, TuiWinInfoPtr
);
40 extern void tuiSetHasBreakAt (struct breakpoint
*, TuiWinInfoPtr
, int);
41 extern void tuiAllSetHasBreakAt (struct breakpoint
*, int);
42 extern void tui_vAllSetHasBreakAt (va_list);
43 extern TuiStatus
tuiAllocSourceBuffer (TuiWinInfoPtr
);
44 extern int tuiLineIsDisplayed (Opaque
, TuiWinInfoPtr
, int);
48 ** Constant definitions
50 #define SCROLL_THRESHOLD 2 /* threshold for lazy scroll */
56 #define m_tuiSetBreakAt(bp, winInfo) tuiSetHasBreakAt((bp, winInfo, TRUE)
57 #define m_tuiClearBreakAt(bp, winInfo) tuiSetHasBreakAt(bp, winInfo, FALSE)
59 #define m_tuiAllSetBreakAt(bp) tuiAllSetHasBreakAt(bp, TRUE)
60 #define m_tuiAllClearBreakAt(bp) tuiAllSetHasBreakAt(bp, FALSE)
62 #define m_tuiSrcLineDisplayed(lineNo) tuiLineIsDisplayed((Opaque)(lineNo), srcWin, FALSE)
63 #define m_tuiSrcAddrDisplayed(addr) tuiLineIsDisplayed((Opaque)(addr), disassemWin, FALSE)
64 #define m_tuiSrcLineDisplayedWithinThreshold(lineNo) \
65 tuiLineIsDisplayed((Opaque)(lineNo), srcWin, TRUE)
66 #define m_tuiSrcAddrDisplayedWithinThreshold(addr) \
67 tuiLineIsDisplayed((Opaque)(addr), disassemWin, TRUE)
68 #define m_tuiLineDisplayedWithinThreshold(winInfo, lineOrAddr) \
69 ( (winInfo == srcWin) ? \
70 m_tuiSrcLineDisplayedWithinThreshold(lineOrAddr) : \
71 m_tuiSrcAddrDisplayedWithinThreshold(lineOrAddr) )
This page took 0.03085 seconds and 4 git commands to generate.