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 **/
7 /** All Rights Reserved **/
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. **/
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 /*****************************************************************************/
29 /**********************************************************************
31 * $XConsortium: parse.h,v 1.14 89/12/14 14:51:25 jim Exp $
33 * .twmrc parsing externs
35 * 8-Apr-88 Tom LaStrange Initial Version.
37 **********************************************************************/
42 extern int ParseTwmrc(), ParseStringList();
43 extern int (*twmInputFunc)();
44 extern void twmUnput();
45 extern void TwmOutput();
48 * This is private to VTWM, to indicate no or invalid functions.
52 #define F_NOFUNCTION 0
60 #define F_WINREFRESH 6
64 #define F_FORCEMOVE 10
65 #define F_AUTORAISE 11
68 #define F_DEICONIFY 14
73 #define F_RIGHTZOOM 19
75 #define F_BOTTOMZOOM 21
79 #define F_RAISELOWER 25
83 #define F_SAVEYOURSELF 29
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
96 #define F_CIRCLEDOWN 42
103 #define F_PANRIGHT 49
105 #define F_RESETDESKTOP 51
106 #define F_MOVESCREEN 52
108 #define F_HIDEDESKTOP 54
109 #define F_SHOWDESKTOP 55
110 #define F_ENTERDOOR 56
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 */
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 */
141 /* djhjr - 4/30/96 */
142 #define F_SEPARATOR 115
144 /* djhjr - 4/20/98 */
145 #define F_NAMEDOOR 116
147 /* djhjr - 7/15/98 */
148 #define F_STARTWM 117
150 /* djhjr - 12/14/98 */
151 #define F_STATICICONPOSITIONS 118
153 /* submitted by Ugen Antsilevitch - 5/28/00 */
154 #define F_WARPVISIBLE 119
156 /* djhjr - 5/30/00 */
157 #define F_WARPSNUG 120
159 /* djhjr - 6/22/01 */
160 #ifndef NO_SOUND_SUPPORT
164 /* djhjr - 10/2/01 */
165 #define F_STRICTICONMGR 122
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
173 /* djhjr - 11/15/02 */
174 #define F_PLAYSOUND 127
181 /* djhjr - 5/15/96 */
183 #define R_NORTHEAST 2
185 #define R_SOUTHEAST 4
187 #define R_SOUTHWEST 6
189 #define R_NORTHWEST 8