-
Notifications
You must be signed in to change notification settings - Fork 26
/
gui2.h
59 lines (47 loc) · 1.25 KB
/
gui2.h
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
58
59
/* 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 ELVBOOL guicolorsync P_((WINDOW win));
extern void guimoveto P_((WINDOW win, int column, int row));
extern DRAWATTR *guidraw P_((WINDOW win, _char_ font, CHAR *text, int len, int forcebits));
extern ELVBOOL guishift P_((WINDOW win, int qty, int rows));
extern ELVBOOL guiscroll P_((WINDOW win, int qty, ELVBOOL notlast));
extern void guiclrtoeol P_((WINDOW win));
extern void guireset P_((void));
extern ELVBOOL guipoll P_((ELVBOOL reset));
extern void guibeep P_((WINDOW win));
extern int guikeylabel P_((CHAR *given, int givenlen, CHAR **labelptr, CHAR **rawptr));
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