chiark / gitweb /
Import vtwm_5.4.7.orig.tar.gz
[vtwm.git] / parse.h
1 /*****************************************************************************/
2 /**       Copyright 1988 by Evans & Sutherland Computer Corporation,        **/
3 /**                          Salt Lake City, Utah                           **/
4 /**  Portions Copyright 1989 by the Massachusetts Institute of Technology   **/
5 /**                        Cambridge, Massachusetts                         **/
6 /**                                                                         **/
7 /**                           All Rights Reserved                           **/
8 /**                                                                         **/
9 /**    Permission to use, copy, modify, and distribute this software and    **/
10 /**    its documentation  for  any  purpose  and  without  fee is hereby    **/
11 /**    granted, provided that the above copyright notice appear  in  all    **/
12 /**    copies and that both  that  copyright  notice  and  this  permis-    **/
13 /**    sion  notice appear in supporting  documentation,  and  that  the    **/
14 /**    names of Evans & Sutherland and M.I.T. not be used in advertising    **/
15 /**    in publicity pertaining to distribution of the  software  without    **/
16 /**    specific, written prior permission.                                  **/
17 /**                                                                         **/
18 /**    EVANS & SUTHERLAND AND M.I.T. DISCLAIM ALL WARRANTIES WITH REGARD    **/
19 /**    TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES  OF  MERCHANT-    **/
20 /**    ABILITY  AND  FITNESS,  IN  NO  EVENT SHALL EVANS & SUTHERLAND OR    **/
21 /**    M.I.T. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL  DAM-    **/
22 /**    AGES OR  ANY DAMAGES WHATSOEVER  RESULTING FROM LOSS OF USE, DATA    **/
23 /**    OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER    **/
24 /**    TORTIOUS ACTION, ARISING OUT OF OR IN  CONNECTION  WITH  THE  USE    **/
25 /**    OR PERFORMANCE OF THIS SOFTWARE.                                     **/
26 /*****************************************************************************/
27
28
29 /**********************************************************************
30  *
31  * $XConsortium: parse.h,v 1.14 89/12/14 14:51:25 jim Exp $
32  *
33  * .twmrc parsing externs
34  *
35  *  8-Apr-88 Tom LaStrange        Initial Version.
36  *
37  **********************************************************************/
38
39 #ifndef _PARSE_
40 #define _PARSE_
41
42 extern int ParseTwmrc(), ParseStringList();
43 extern int (*twmInputFunc)();
44 extern void twmUnput();
45 extern void TwmOutput();
46
47 /*
48  * This is private to VTWM, to indicate no or invalid functions.
49  *
50  * djhjr - 4/20/98
51  */
52 #define F_NOFUNCTION            0
53
54 #define F_NOP                   0
55 #define F_BEEP                  1
56 #define F_RESTART               2
57 #define F_QUIT                  3
58 #define F_FOCUS                 4
59 #define F_REFRESH               5
60 #define F_WINREFRESH            6
61 #define F_DELTASTOP             7
62 #define F_MOVE                  8
63 #define F_POPUP                 9
64 #define F_FORCEMOVE             10
65 #define F_AUTORAISE             11
66 #define F_IDENTIFY              12
67 #define F_ICONIFY               13
68 #define F_DEICONIFY             14
69 #define F_UNFOCUS               15
70 #define F_RESIZE                16
71 #define F_ZOOM                  17
72 #define F_LEFTZOOM              18
73 #define F_RIGHTZOOM             19
74 #define F_TOPZOOM               20
75 #define F_BOTTOMZOOM            21
76 #define F_HORIZOOM              22
77 #define F_FULLZOOM              23
78 #define F_RAISE                 24
79 #define F_RAISELOWER            25
80 #define F_LOWER                 26
81 #define F_DESTROY               27
82 #define F_DELETE                28
83 #define F_SAVEYOURSELF          29
84 #define F_VERSION               30
85 #define F_TITLE                 31
86 #define F_RIGHTICONMGR          32
87 #define F_LEFTICONMGR           33
88 #define F_UPICONMGR             34
89 #define F_DOWNICONMGR           35
90 #define F_FORWICONMGR           36
91 #define F_BACKICONMGR           37
92 #define F_NEXTICONMGR           38
93 #define F_PREVICONMGR           39
94 #define F_SORTICONMGR           40
95 #define F_CIRCLEUP              41
96 #define F_CIRCLEDOWN            42
97 #define F_CUTFILE               43
98 #define F_SHOWLIST              44
99 #define F_HIDELIST              45
100 #define F_NAIL                  46
101 #define F_PANDOWN               47
102 #define F_PANLEFT               48
103 #define F_PANRIGHT              49
104 #define F_PANUP                 50
105 #define F_RESETDESKTOP          51
106 #define F_MOVESCREEN            52
107 #define F_SNAP                  53
108 #define F_HIDEDESKTOP           54
109 #define F_SHOWDESKTOP           55
110 #define F_ENTERDOOR             56
111 #define F_NEWDOOR               57
112 #define F_SNUGDESKTOP           58
113 #define F_SNUGWINDOW            59
114 #define F_AUTOPAN               60/*RFB F_AUTOPAN*/
115 #define F_RING                  61/*RFB F_RING*/
116 #define F_SQUEEZELEFT           62/*RFB F_SQUEEZE*/
117 #define F_SQUEEZERIGHT          63/*RFB F_SQUEEZE*/
118 #define F_SQUEEZECENTER         64/*RFB F_SQUEEZE*/
119 #define F_SNAPREALSCREEN        65/*RFB F_SNAPREALSCREEN*/
120 #define F_VIRTUALGEOMETRIES     66/*marcel@duteca.et.tudelft.nl*/
121 #define F_DELETEDOOR            67/*marcel@duteca.et.tudelft.nl*/
122 #define F_ZOOMZOOM              68 /* RFB silly */
123 #define F_WARP                  69 /* PF */
124 #define F_STICKYABOVE           70 /* DSE */
125
126 #define F_MENU                  101     /* string */
127 #define F_WARPTO                102     /* string */
128 #define F_WARPTOICONMGR         103     /* string */
129 #define F_WARPRING              104     /* string */
130 #define F_FILE                  105     /* string */
131 #define F_EXEC                  106     /* string */
132 #define F_CUT                   107     /* string */
133 #define F_FUNCTION              108     /* string */
134 #define F_WARPTOSCREEN          109     /* string */
135 #define F_COLORMAP              110     /* string */
136 #define F_SETREALSCREEN         111     /* string */
137 #define F_WARPCLASSNEXT         112     /* string -- PF */
138 #define F_WARPCLASSPREV         113 /* string -- PF */
139 #define F_WARPTONEWEST          114     /* string -- PF */
140
141 /* djhjr - 4/30/96 */
142 #define F_SEPARATOR             115
143
144 /* djhjr - 4/20/98 */
145 #define F_NAMEDOOR              116
146
147 /* djhjr - 7/15/98 */
148 #define F_STARTWM               117
149
150 /* djhjr - 12/14/98 */
151 #define F_STATICICONPOSITIONS   118
152
153 /* submitted by Ugen Antsilevitch - 5/28/00 */
154 #define F_WARPVISIBLE           119
155
156 /* djhjr - 5/30/00 */
157 #define F_WARPSNUG              120
158
159 /* djhjr - 6/22/01 */
160 #ifndef NO_SOUND_SUPPORT
161 #define F_SOUNDS                121
162 #endif
163
164 /* djhjr - 10/2/01 */
165 #define F_STRICTICONMGR         122
166
167 /* Next four submitted by Seth Robertson - 9/9/02 */
168 #define F_BINDBUTTONS           123
169 #define F_BINDKEYS              124
170 #define F_UNBINDBUTTONS         125
171 #define F_UNBINDKEYS            126
172
173 /* djhjr - 11/15/02 */
174 #define F_PLAYSOUND             127
175
176 #define D_NORTH                 1
177 #define D_SOUTH                 2
178 #define D_EAST                  3
179 #define D_WEST                  4
180
181 /* djhjr - 5/15/96 */
182 #define R_NORTH                 1
183 #define R_NORTHEAST             2
184 #define R_EAST                  3
185 #define R_SOUTHEAST             4
186 #define R_SOUTH                 5
187 #define R_SOUTHWEST             6
188 #define R_WEST                  7
189 #define R_NORTHWEST             8
190 #define R_CENTERED              9
191
192 #endif /* _PARSE_ */