ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/menubar.h
(Generate patch)

Comparing rxvt-unicode/src/menubar.h (file contents):
Revision 1.4 by pcg, Tue Feb 24 16:25:45 2004 UTC vs.
Revision 1.6 by root, Tue Jan 3 02:43:33 2006 UTC

18 char *name; /* character string displayed */ 18 char *name; /* character string displayed */
19 char *name2; /* character string displayed (right) */ 19 char *name2; /* character string displayed (right) */
20 short len; /* strlen (name) */ 20 short len; /* strlen (name) */
21 short len2; /* strlen (name) */ 21 short len2; /* strlen (name) */
22 union { 22 union {
23 short type; /* must not be changed; first element */ 23 short type; /* must not be changed; first element */
24 action_t action; 24 action_t action;
25 submenu_t submenu; 25 submenu_t submenu;
26 } entry; 26 } entry;
27} menuitem_t; 27} menuitem_t;
28 28
29enum menuitem_t_action { 29enum menuitem_t_action {
30 MenuLabel, 30 MenuLabel,
66/* #define DEBUG_MENU_LAYOUT */ 66/* #define DEBUG_MENU_LAYOUT */
67/* #define DEBUG_MENUBAR_STACKING */ 67/* #define DEBUG_MENUBAR_STACKING */
68 68
69#define HSPACE 1 /* one space */ 69#define HSPACE 1 /* one space */
70#define isSeparator(name) ((name)[0] == '\0') 70#define isSeparator(name) ((name)[0] == '\0')
71#define HEIGHT_SEPARATOR (SHADOW + 1) 71#define HEIGHT_SEPARATOR (MENU_SHADOW + 1)
72#define HEIGHT_TEXT (Height2Pixel(1) + 2) 72#define HEIGHT_TEXT (Height2Pixel(1) + 2)
73 73
74#define MENU_DELAY_USEC 0 /* no delay */ 74#define MENU_DELAY_USEC 0 /* no delay */
75 75
76#define SEPARATOR_NAME "-" 76#define SEPARATOR_NAME "-"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines