1999-07-17 06:53:21 -04:00
|
|
|
--- menu.h.orig Thu Jan 13 22:40:03 1994
|
|
|
|
+++ ./menu.h Fri Jul 16 21:49:03 1999
|
|
|
|
@@ -8,7 +8,7 @@
|
|
|
|
#define _OLWM_MENU_H
|
1998-09-29 22:31:44 -04:00
|
|
|
|
1999-07-17 06:53:21 -04:00
|
|
|
#ifdef IDENT
|
|
|
|
-#ident "@(#)menu.h 1.4 olvwm version 07 Jan 1994"
|
|
|
|
+#ident "@(#)menu.h 1.5 olvwm version 09 Feb 1994"
|
|
|
|
#endif
|
1998-09-29 22:31:44 -04:00
|
|
|
|
|
|
|
/*
|
1999-07-17 06:53:21 -04:00
|
|
|
@@ -56,17 +56,18 @@
|
|
|
|
FuncPtr callback; /* function to call when item hit */
|
|
|
|
/* NULL if button has pullright */
|
1998-09-29 22:31:44 -04:00
|
|
|
|
1999-07-17 06:53:21 -04:00
|
|
|
+ SemanticAction semantic; /* semantic action for window menu items */
|
|
|
|
+
|
|
|
|
+ FuncPtr generate_func; /* If !NULL, called when this button is
|
|
|
|
+ * hilighted to re-initialize action.submenu */
|
|
|
|
+ char *generate_args; /* args for generate function */
|
|
|
|
+
|
|
|
|
union {
|
|
|
|
struct _menu *submenu; /* pointer to the submenu, if has_submenu */
|
|
|
|
char *command; /* command, if callback is AppMenuFunc */
|
|
|
|
void *other; /* unspecified */
|
|
|
|
} action;
|
|
|
|
|
|
|
|
- SemanticAction semantic; /* semantic action for window menu items */
|
|
|
|
-
|
|
|
|
- FuncPtr generate_func; /* If !NULL, called when this button is
|
|
|
|
- * hilighted to re-initialize action.submenu */
|
|
|
|
- char *generate_args; /* args for generate function */
|
|
|
|
} Button;
|
|
|
|
|
|
|
|
/*
|