summaryrefslogtreecommitdiff
path: root/src/parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.h')
-rw-r--r--src/parse.h171
1 files changed, 84 insertions, 87 deletions
diff --git a/src/parse.h b/src/parse.h
index e461e19..0d0500c 100644
--- a/src/parse.h
+++ b/src/parse.h
@@ -49,7 +49,6 @@ in this Software without prior written authorization from The Open Group.
/** OR PERFORMANCE OF THIS SOFTWARE. **/
/*****************************************************************************/
-
/**********************************************************************
*
* .twmrc parsing externs
@@ -63,93 +62,91 @@ in this Software without prior written authorization from The Open Group.
#include "list.h"
-extern void assign_var_savecolor ( void );
-extern int do_single_keyword ( int keyword );
-extern int do_string_keyword ( int keyword, char *s );
-extern int do_number_keyword ( int keyword, int num );
-extern name_list **do_colorlist_keyword ( int keyword, int colormode,
- char *s );
-extern int do_color_keyword ( int keyword, int colormode, char *s );
-extern void do_string_savecolor ( int colormode, char *s );
-extern void do_var_savecolor ( int key );
-extern int ParseTwmrc ( char *filename );
-extern int parse_keyword ( char *s, int *nump );
-extern void TwmOutput ( int c );
-extern void twmUnput ( int c );
-extern void do_squeeze_entry ( name_list **list, char *name, int justify,
- int num, int denom );
-
-
-extern int (*twmInputFunc)(void);
+extern void assign_var_savecolor(void);
+extern int do_single_keyword(int keyword);
+extern int do_string_keyword(int keyword, char *s);
+extern int do_number_keyword(int keyword, int num);
+extern name_list **do_colorlist_keyword(int keyword, int colormode, char *s);
+extern int do_color_keyword(int keyword, int colormode, char *s);
+extern void do_string_savecolor(int colormode, char *s);
+extern void do_var_savecolor(int key);
+extern int ParseTwmrc(char *filename);
+extern int parse_keyword(char *s, int *nump);
+extern void TwmOutput(int c);
+extern void twmUnput(int c);
+extern void do_squeeze_entry(name_list ** list, char *name, int justify,
+ int num, int denom);
+
+extern int (*twmInputFunc) (void);
extern int ConstrainedMoveTime;
extern unsigned char *defTwmrc[];
extern int mods;
-#define F_NOP 0
-#define F_BEEP 1
-#define F_RESTART 2
-#define F_QUIT 3
-#define F_FOCUS 4
-#define F_REFRESH 5
-#define F_WINREFRESH 6
-#define F_DELTASTOP 7
-#define F_MOVE 8
-#define F_POPUP 9
-#define F_FORCEMOVE 10
-#define F_AUTORAISE 11
-#define F_IDENTIFY 12
-#define F_ICONIFY 13
-#define F_DEICONIFY 14
-#define F_UNFOCUS 15
-#define F_RESIZE 16
-#define F_ZOOM 17
-#define F_LEFTZOOM 18
-#define F_RIGHTZOOM 19
-#define F_TOPZOOM 20
-#define F_BOTTOMZOOM 21
-#define F_HORIZOOM 22
-#define F_FULLZOOM 23
-#define F_RAISE 24
-#define F_RAISELOWER 25
-#define F_LOWER 26
-#define F_DESTROY 27
-#define F_DELETE 28
-#define F_SAVEYOURSELF 29
-#define F_VERSION 30
-#define F_TITLE 31
-#define F_RIGHTICONMGR 32
-#define F_LEFTICONMGR 33
-#define F_UPICONMGR 34
-#define F_DOWNICONMGR 35
-#define F_FORWICONMGR 36
-#define F_BACKICONMGR 37
-#define F_NEXTICONMGR 38
-#define F_PREVICONMGR 39
-#define F_SORTICONMGR 40
-#define F_CIRCLEUP 41
-#define F_CIRCLEDOWN 42
-#define F_CUTFILE 43
-#define F_SHOWLIST 44
-#define F_HIDELIST 45
-
-#define F_MENU 101 /* string */
-#define F_WARPNEXT 112 /* string */
-#define F_WARPPREV 113 /* string */
-#define F_WARPTO 102 /* string */
-#define F_WARPTOICONMGR 103 /* string */
-#define F_WARPRING 104 /* string */
-#define F_FILE 105 /* string */
-#define F_EXEC 106 /* string */
-#define F_CUT 107 /* string */
-#define F_FUNCTION 108 /* string */
-#define F_WARPTOSCREEN 109 /* string */
-#define F_COLORMAP 110 /* string */
-#define F_PRIORITY 111 /* string */
-#define F_STARTWM 114 /* string */
-
-#define D_NORTH 1
-#define D_SOUTH 2
-#define D_EAST 3
-#define D_WEST 4
-
-#endif /* _PARSE_ */
+#define F_NOP 0
+#define F_BEEP 1
+#define F_RESTART 2
+#define F_QUIT 3
+#define F_FOCUS 4
+#define F_REFRESH 5
+#define F_WINREFRESH 6
+#define F_DELTASTOP 7
+#define F_MOVE 8
+#define F_POPUP 9
+#define F_FORCEMOVE 10
+#define F_AUTORAISE 11
+#define F_IDENTIFY 12
+#define F_ICONIFY 13
+#define F_DEICONIFY 14
+#define F_UNFOCUS 15
+#define F_RESIZE 16
+#define F_ZOOM 17
+#define F_LEFTZOOM 18
+#define F_RIGHTZOOM 19
+#define F_TOPZOOM 20
+#define F_BOTTOMZOOM 21
+#define F_HORIZOOM 22
+#define F_FULLZOOM 23
+#define F_RAISE 24
+#define F_RAISELOWER 25
+#define F_LOWER 26
+#define F_DESTROY 27
+#define F_DELETE 28
+#define F_SAVEYOURSELF 29
+#define F_VERSION 30
+#define F_TITLE 31
+#define F_RIGHTICONMGR 32
+#define F_LEFTICONMGR 33
+#define F_UPICONMGR 34
+#define F_DOWNICONMGR 35
+#define F_FORWICONMGR 36
+#define F_BACKICONMGR 37
+#define F_NEXTICONMGR 38
+#define F_PREVICONMGR 39
+#define F_SORTICONMGR 40
+#define F_CIRCLEUP 41
+#define F_CIRCLEDOWN 42
+#define F_CUTFILE 43
+#define F_SHOWLIST 44
+#define F_HIDELIST 45
+
+#define F_MENU 101 /* string */
+#define F_WARPNEXT 112 /* string */
+#define F_WARPPREV 113 /* string */
+#define F_WARPTO 102 /* string */
+#define F_WARPTOICONMGR 103 /* string */
+#define F_WARPRING 104 /* string */
+#define F_FILE 105 /* string */
+#define F_EXEC 106 /* string */
+#define F_CUT 107 /* string */
+#define F_FUNCTION 108 /* string */
+#define F_WARPTOSCREEN 109 /* string */
+#define F_COLORMAP 110 /* string */
+#define F_PRIORITY 111 /* string */
+#define F_STARTWM 114 /* string */
+
+#define D_NORTH 1
+#define D_SOUTH 2
+#define D_EAST 3
+#define D_WEST 4
+
+#endif /* _PARSE_ */