File: gui2.h

package info (click to toggle)
elvis 2.1i-3
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 4,120 kB
  • ctags: 5,838
  • sloc: ansic: 53,854; sh: 811; makefile: 263
file content (57 lines) | stat: -rw-r--r-- 1,126 bytes parent folder | download | duplicates (4)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/* gui2.h */
/* Copyright 1995 by Steve Kirkendall */

/* Herbert: 
 * two more GUI's (by Lee).
 */

#define guiscrollbar(w,t,b,n)	if (gui->scrollbar != NULL) \
					(*scrollbar)((w)->gw, t, b, n); else (void)0
#define guiflush()		if (gui->flush) (*gui->flush)()

BEGIN_EXTERNC
extern void	guimoveto P_((WINDOW win, int column, int row));
extern void	guidraw P_((WINDOW win, _char_ font, CHAR *text, int len));
extern BOOLEAN	guishift P_((WINDOW win, int qty, int rows));
extern BOOLEAN	guiscroll P_((WINDOW win, int qty, BOOLEAN notlast));
extern void	guiclrtoeol P_((WINDOW win));
extern void	guireset P_((void));
extern BOOLEAN	guipoll P_((BOOLEAN reset));
extern void	guibeep P_((WINDOW win));
END_EXTERNC

extern GUI	*gui;

#ifdef GUI_X11
extern GUI	guix11;
#endif

#ifdef GUI_PM
extern GUI	guipm;
#endif

#ifdef GUI_CURSES
extern GUI	guicurses;
#endif

#ifdef GUI_BIOS
extern GUI	guibios;
#endif

#ifdef GUI_VIO
extern GUI	guivio;
#endif

#ifdef GUI_TERMCAP
extern GUI	guitermcap;
#endif

#ifdef GUI_OPEN
extern GUI	guiopen;
extern GUI	guiquit;
extern GUI	guiscript;
#endif

#ifdef GUI_WIN32
extern GUI	guiwin32;
#endif