Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

610987 views
1
/****************************************************************************
2
**
3
*W xgap.h XGAP Source Frank Celler
4
**
5
**
6
*Y Copyright 1995-1997, Lehrstuhl D fuer Mathematik, RWTH Aachen, Germany
7
*Y Copyright 1997, Frank Celler, Huerth, Germany
8
*/
9
#ifndef _xgap_h
10
#define _xgap_h
11
12
13
/****************************************************************************
14
**
15
16
*T TypeMenuItem . . . . . . . . . . . . . . . . . . . . . menu description
17
*/
18
#define S_ALWAYS 0
19
#define S_INPUT_ONLY 1
20
#define S_ERROR_ONLY 2
21
#define S_NORMAL_ONLY 3
22
#define S_RUNNING_ONLY 4
23
#define S_HELP_ONLY 5
24
25
typedef struct _menu_item
26
{
27
char * label;
28
void (*click)();
29
int sensitive;
30
Widget entry;
31
}
32
TypeMenuItem;
33
34
35
/****************************************************************************
36
**
37
38
*F * * * * * * * * * * * * * * global variables * * * * * * * * * * * * * *
39
*/
40
41
42
/****************************************************************************
43
**
44
45
*V AppContext . . . . . . . . . . . . . . . . . . . . . aplication context
46
*/
47
extern XtAppContext AppContext;
48
49
50
/****************************************************************************
51
**
52
*V GapDisplay . . . . . . . . . . . . . . . . . . . . . . . current display
53
*/
54
extern Display * GapDisplay;
55
56
57
/****************************************************************************
58
**
59
*V GapScreen . . . . . . . . . . . . . . . . . . . . . . . . current screen
60
*/
61
extern long GapScreen;
62
63
64
/****************************************************************************
65
**
66
*V GapTalk . . . . . . . . . . . . . . . . . . . . . . . . . gap text window
67
*/
68
extern Widget GapTalk;
69
70
71
/****************************************************************************
72
**
73
*V GapState . . . . . . . . . . . . . . . . . . . . . . . . . status of gap
74
*/
75
#define GAP_NOGAP 0
76
#define GAP_RUNNING 1
77
#define GAP_INPUT 2
78
#define GAP_ERROR 3
79
#define GAP_HELP 4
80
81
extern Int GapState;
82
83
84
/****************************************************************************
85
**
86
*V MyRootWindow . . . . . . . . . . . . . . . . . . . . current root window
87
*/
88
extern Drawable MyRootWindow;
89
90
91
/****************************************************************************
92
**
93
*V SpyMode . . . . . . . . . . . . . . . . . . . . copy GAP output to stderr
94
*/
95
extern Boolean SpyMode;
96
97
98
/****************************************************************************
99
**
100
*V WmDeleteWindowAtom . . . . . . . window manager "delete window" request
101
*/
102
extern Atom WmDeleteWindowAtom;
103
104
105
/****************************************************************************
106
**
107
*V XGap . . . . . . . . . . . . . . . . . . . . . . . . . . toplevel shell
108
*/
109
extern Widget XGap;
110
111
112
/****************************************************************************
113
**
114
115
*F * * * * * * * * * * * * * * various symbols * * * * * * * * * * * * * * *
116
*/
117
118
119
120
/****************************************************************************
121
**
122
123
*V CheckMarkSymbol . . . . . . . . . . . . . symbol for checked menu entries
124
*/
125
extern Pixmap CheckMarkSymbol;
126
127
128
/****************************************************************************
129
**
130
*V CursorTL . . . . . . . . . . . . . . . . . . . . . . . . top left arrow
131
*/
132
extern Cursor CursorTL;
133
134
135
/****************************************************************************
136
**
137
*V EmptyMarkSymbol . . . . . . . . . . . . symbol for unchecked menu entries
138
*/
139
extern Pixmap EmptyMarkSymbol;
140
141
142
/****************************************************************************
143
**
144
*V MenuSymbol . . . . . . . . . . . . . . . . . symbol for drop down menus
145
*/
146
extern Pixmap MenuSymbol;
147
148
149
/****************************************************************************
150
**
151
*V ExMarkSymbol . . . . . . . . . . . . . . . . . . . . . exclamation mark
152
*/
153
extern Pixmap ExMarkSymbol;
154
155
156
/****************************************************************************
157
**
158
159
*P Prototypes . . . . . . . . . . . prototypes of public gap text functions
160
*/
161
extern void SimulateInput( String );
162
extern void UpdateMenus( Int );
163
extern void UpdateMemoryInfo( Int, Int );
164
165
#endif
166
167
168
/****************************************************************************
169
**
170
171
*E xgap.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . ends here
172
*/
173
174