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 #define F_NOP			0
48 #define F_BEEP			1
49 #define F_RESTART		2
50 #define F_QUIT			3
51 #define F_FOCUS			4
52 #define F_REFRESH		5
53 #define F_WINREFRESH		6
54 #define F_DELTASTOP		7
55 #define F_MOVE			8
56 #define F_POPUP			9
57 #define F_FORCEMOVE		10
58 #define F_AUTORAISE		11
59 #define F_IDENTIFY		12
60 #define F_ICONIFY		13
61 #define F_DEICONIFY		14
62 #define F_UNFOCUS		15
63 #define F_RESIZE		16
64 #define F_ZOOM			17
65 #define F_LEFTZOOM		18
66 #define F_RIGHTZOOM		19
67 #define F_TOPZOOM		20
68 #define F_BOTTOMZOOM		21
69 #define F_HORIZOOM		22
70 #define F_FULLZOOM		23
71 #define F_RAISE			24
72 #define F_RAISELOWER		25
73 #define F_LOWER			26
74 #define F_DESTROY		27
75 #define F_DELETE		28
76 #define F_SAVEYOURSELF		29
77 #define F_VERSION		30
78 #define F_TITLE			31
79 #define F_RIGHTICONMGR		32
80 #define F_LEFTICONMGR		33
81 #define F_UPICONMGR		34
82 #define F_DOWNICONMGR		35
83 #define F_FORWICONMGR		36
84 #define F_BACKICONMGR		37
85 #define F_NEXTICONMGR		38
86 #define F_PREVICONMGR		39
87 #define F_SORTICONMGR		40
88 #define F_CIRCLEUP		41
89 #define F_CIRCLEDOWN		42
90 #define F_CUTFILE		43
91 #define F_SHOWLIST		44
92 #define F_HIDELIST		45
93 #define F_STICK			46
94 #define F_SCROLLHOME		47
95 #define F_SCROLLRIGHT		48
96 #define F_SCROLLLEFT		49
97 #define F_SCROLLDOWN		50
98 #define F_SCROLLUP		51
99 #define F_PANNER		52
100 #define F_SCROLLBACK		53
101 #define F_RELATIVERESIZE	54
102 #define F_CONSTRAINEDMOVE	55
103 #define F_OPAQUEMOVE		56
104 #define F_DELETEORDESTROY	57
105 #define F_DUMPSTATE		58
106 
107 #define F_MENU			101	/* string */
108 #define F_WARPTO		102	/* string */
109 #define F_WARPTOICONMGR		103	/* string */
110 #define F_WARPRING		104	/* string */
111 #define F_FILE			105	/* string */
112 #define F_EXEC			106	/* string */
113 #define F_CUT			107	/* string */
114 #define F_FUNCTION		108	/* string */
115 #define F_WARPTOSCREEN		109	/* string */
116 #define F_COLORMAP		110	/* string */
117 #define F_SCROLL		111	/* string */
118 #define F_TESTEXEC              112     /* string */
119 #define F_MENUFUNC		113	/* string */
120 #define F_WINEXEC		114	/* string */
121 #define F_TESTWINEXEC		115	/* string */
122 #define F_RELATIVEMOVE		116	/* direction and integer */
123 
124 #define D_NORTH			1
125 #define D_SOUTH			2
126 #define D_EAST			3
127 #define D_WEST			4
128 
129 #endif /* _PARSE_ */
130