/[emacs]/emacs/lwlib/xlwmenu.c
ViewVC logotype

Diff of /emacs/lwlib/xlwmenu.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.50 by jhd, Sun Apr 28 19:54:01 2002 UTC revision 1.51 by pj, Mon Apr 29 09:10:28 2002 UTC
# Line 129  xlwMenuTranslations [] = Line 129  xlwMenuTranslations [] =
129    
130  /* FIXME: Should ESC close one level of menu structure or the complete menu?  */  /* FIXME: Should ESC close one level of menu structure or the complete menu?  */
131    
132  /* FIXME: Should F10 enter to menu?  Which one?  File?  */  /* FIXME: F10 should enter the menu, the first one in the menu-bar.  */
133    
134  #define offset(field) XtOffset(XlwMenuWidget, field)  #define offset(field) XtOffset(XlwMenuWidget, field)
135  static XtResource  static XtResource
# Line 142  xlwMenuResources[] = Line 142  xlwMenuResources[] =
142    {XtNbuttonForeground, XtCButtonForeground, XtRPixel, sizeof(Pixel),    {XtNbuttonForeground, XtCButtonForeground, XtRPixel, sizeof(Pixel),
143       offset(menu.button_foreground), XtRString, "XtDefaultForeground"},       offset(menu.button_foreground), XtRString, "XtDefaultForeground"},
144    {XtNmargin, XtCMargin, XtRDimension,  sizeof(Dimension),    {XtNmargin, XtCMargin, XtRDimension,  sizeof(Dimension),
145       offset(menu.margin), XtRImmediate, (XtPointer) 4},       offset(menu.margin), XtRImmediate, (XtPointer)1},
146    {XtNhorizontalSpacing, XtCMargin, XtRDimension,  sizeof(Dimension),    {XtNhorizontalSpacing, XtCMargin, XtRDimension,  sizeof(Dimension),
147       offset(menu.horizontal_spacing), XtRImmediate, (XtPointer)3},       offset(menu.horizontal_spacing), XtRImmediate, (XtPointer)3},
148    {XtNverticalSpacing, XtCMargin, XtRDimension,  sizeof(Dimension),    {XtNverticalSpacing, XtCMargin, XtRDimension,  sizeof(Dimension),
149       offset(menu.vertical_spacing), XtRImmediate, (XtPointer)1},       offset(menu.vertical_spacing), XtRImmediate, (XtPointer)2},
150    {XtNarrowSpacing, XtCMargin, XtRDimension,  sizeof(Dimension),    {XtNarrowSpacing, XtCMargin, XtRDimension,  sizeof(Dimension),
151       offset(menu.arrow_spacing), XtRImmediate, (XtPointer)10},       offset(menu.arrow_spacing), XtRImmediate, (XtPointer)10},
152    
153    {XmNshadowThickness, XmCShadowThickness, XtRDimension,    {XmNshadowThickness, XmCShadowThickness, XtRDimension,
154       sizeof (Dimension), offset (menu.shadow_thickness),       sizeof (Dimension), offset (menu.shadow_thickness),
155       XtRImmediate, (XtPointer) 2},       XtRImmediate, (XtPointer)1},
156    {XmNtopShadowColor, XmCTopShadowColor, XtRPixel, sizeof (Pixel),    {XmNtopShadowColor, XmCTopShadowColor, XtRPixel, sizeof (Pixel),
157       offset (menu.top_shadow_color), XtRImmediate, (XtPointer)-1},       offset (menu.top_shadow_color), XtRImmediate, (XtPointer)-1},
158    {XmNbottomShadowColor, XmCBottomShadowColor, XtRPixel, sizeof (Pixel),    {XmNbottomShadowColor, XmCBottomShadowColor, XtRPixel, sizeof (Pixel),

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26