1
/* $XFree86: xc/programs/twm/parse.h,v 1.11 2001/12/14 20:01:09 dawes Exp $ */
2
/*****************************************************************************/
5
Copyright 1989, 1998 The Open Group
7
Permission to use, copy, modify, distribute, and sell this software and its
8
documentation for any purpose is hereby granted without fee, provided that
9
the above copyright notice appear in all copies and that both that
10
copyright notice and this permission notice appear in supporting
13
The above copyright notice and this permission notice shall be included in
14
all copies or substantial portions of the Software.
16
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
20
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
Except as contained in this notice, the name of The Open Group shall not be
24
used in advertising or otherwise to promote the sale, use or other dealings
25
in this Software without prior written authorization from The Open Group.
28
/** Copyright 1988 by Evans & Sutherland Computer Corporation, **/
29
/** Salt Lake City, Utah **/
30
/** Cambridge, Massachusetts **/
32
/** All Rights Reserved **/
34
/** Permission to use, copy, modify, and distribute this software and **/
35
/** its documentation for any purpose and without fee is hereby **/
36
/** granted, provided that the above copyright notice appear in all **/
37
/** copies and that both that copyright notice and this permis- **/
38
/** sion notice appear in supporting documentation, and that the **/
39
/** name of Evans & Sutherland not be used in advertising **/
40
/** in publicity pertaining to distribution of the software without **/
41
/** specific, written prior permission. **/
43
/** EVANS & SUTHERLAND DISCLAIMs ALL WARRANTIES WITH REGARD **/
44
/** TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT- **/
45
/** ABILITY AND FITNESS, IN NO EVENT SHALL EVANS & SUTHERLAND **/
46
/** BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAM- **/
47
/** AGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA **/
48
/** OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER **/
49
/** TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE **/
50
/** OR PERFORMANCE OF THIS SOFTWARE. **/
51
/*****************************************************************************/
54
/**********************************************************************
56
* $Xorg: parse.h,v 1.4 2001/02/09 02:05:37 xorgcvs Exp $
58
* .twmrc parsing externs
60
* 8-Apr-88 Tom LaStrange Initial Version.
62
**********************************************************************/
69
extern void assign_var_savecolor ( void );
70
extern int do_single_keyword ( int keyword );
71
extern int do_string_keyword ( int keyword, char *s );
72
extern int do_number_keyword ( int keyword, int num );
73
extern name_list **do_colorlist_keyword ( int keyword, int colormode,
75
extern int do_color_keyword ( int keyword, int colormode, char *s );
76
void put_pixel_on_root ( Pixel pixel );
77
extern void do_string_savecolor ( int colormode, char *s );
78
extern void do_var_savecolor ( int key );
79
extern int ParseStringList ( char **sl );
80
extern int ParseTwmrc ( char *filename );
81
extern int parse_keyword ( char *s, int *nump );
82
extern void TwmOutput ( int c );
83
extern void twmUnput ( int c );
84
extern void do_squeeze_entry ( name_list **list, char *name, int justify,
88
extern int (*twmInputFunc)(void);
89
extern int ConstrainedMoveTime;
90
extern char *defTwmrc[];
99
#define F_WINREFRESH 6
100
#define F_DELTASTOP 7
103
#define F_FORCEMOVE 10
104
#define F_AUTORAISE 11
105
#define F_IDENTIFY 12
107
#define F_DEICONIFY 14
111
#define F_LEFTZOOM 18
112
#define F_RIGHTZOOM 19
114
#define F_BOTTOMZOOM 21
115
#define F_HORIZOOM 22
116
#define F_FULLZOOM 23
118
#define F_RAISELOWER 25
122
#define F_SAVEYOURSELF 29
125
#define F_RIGHTICONMGR 32
126
#define F_LEFTICONMGR 33
127
#define F_UPICONMGR 34
128
#define F_DOWNICONMGR 35
129
#define F_FORWICONMGR 36
130
#define F_BACKICONMGR 37
131
#define F_NEXTICONMGR 38
132
#define F_PREVICONMGR 39
133
#define F_SORTICONMGR 40
134
#define F_CIRCLEUP 41
135
#define F_CIRCLEDOWN 42
137
#define F_SHOWLIST 44
138
#define F_HIDELIST 45
140
#define F_MENU 101 /* string */
141
#define F_WARPNEXT 112 /* string */
142
#define F_WARPPREV 113 /* string */
143
#define F_WARPTO 102 /* string */
144
#define F_WARPTOICONMGR 103 /* string */
145
#define F_WARPRING 104 /* string */
146
#define F_FILE 105 /* string */
147
#define F_EXEC 106 /* string */
148
#define F_CUT 107 /* string */
149
#define F_FUNCTION 108 /* string */
150
#define F_WARPTOSCREEN 109 /* string */
151
#define F_COLORMAP 110 /* string */
152
#define F_PRIORITY 111 /* string */
153
#define F_STARTWM 114 /* string */