emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lwlib/xlwmenu.c


From: Pavel Janík
Subject: [Emacs-diffs] Changes to emacs/lwlib/xlwmenu.c
Date: Mon, 29 Apr 2002 05:10:28 -0400

Index: emacs/lwlib/xlwmenu.c
diff -c emacs/lwlib/xlwmenu.c:1.50 emacs/lwlib/xlwmenu.c:1.51
*** emacs/lwlib/xlwmenu.c:1.50  Sun Apr 28 15:54:01 2002
--- emacs/lwlib/xlwmenu.c       Mon Apr 29 05:10:28 2002
***************
*** 129,135 ****
  
  /* FIXME: Should ESC close one level of menu structure or the complete menu?  
*/
  
! /* FIXME: Should F10 enter to menu?  Which one?  File?  */
  
  #define offset(field) XtOffset(XlwMenuWidget, field)
  static XtResource
--- 129,135 ----
  
  /* FIXME: Should ESC close one level of menu structure or the complete menu?  
*/
  
! /* FIXME: F10 should enter the menu, the first one in the menu-bar.  */
  
  #define offset(field) XtOffset(XlwMenuWidget, field)
  static XtResource
***************
*** 142,158 ****
    {XtNbuttonForeground, XtCButtonForeground, XtRPixel, sizeof(Pixel),
       offset(menu.button_foreground), XtRString, "XtDefaultForeground"},
    {XtNmargin, XtCMargin, XtRDimension,  sizeof(Dimension),
!      offset(menu.margin), XtRImmediate, (XtPointer) 4},
    {XtNhorizontalSpacing, XtCMargin, XtRDimension,  sizeof(Dimension),
       offset(menu.horizontal_spacing), XtRImmediate, (XtPointer)3},
    {XtNverticalSpacing, XtCMargin, XtRDimension,  sizeof(Dimension),
!      offset(menu.vertical_spacing), XtRImmediate, (XtPointer)1},
    {XtNarrowSpacing, XtCMargin, XtRDimension,  sizeof(Dimension),
       offset(menu.arrow_spacing), XtRImmediate, (XtPointer)10},
  
    {XmNshadowThickness, XmCShadowThickness, XtRDimension,
       sizeof (Dimension), offset (menu.shadow_thickness),
!      XtRImmediate, (XtPointer) 2},
    {XmNtopShadowColor, XmCTopShadowColor, XtRPixel, sizeof (Pixel),
       offset (menu.top_shadow_color), XtRImmediate, (XtPointer)-1},
    {XmNbottomShadowColor, XmCBottomShadowColor, XtRPixel, sizeof (Pixel),
--- 142,158 ----
    {XtNbuttonForeground, XtCButtonForeground, XtRPixel, sizeof(Pixel),
       offset(menu.button_foreground), XtRString, "XtDefaultForeground"},
    {XtNmargin, XtCMargin, XtRDimension,  sizeof(Dimension),
!      offset(menu.margin), XtRImmediate, (XtPointer)1},
    {XtNhorizontalSpacing, XtCMargin, XtRDimension,  sizeof(Dimension),
       offset(menu.horizontal_spacing), XtRImmediate, (XtPointer)3},
    {XtNverticalSpacing, XtCMargin, XtRDimension,  sizeof(Dimension),
!      offset(menu.vertical_spacing), XtRImmediate, (XtPointer)2},
    {XtNarrowSpacing, XtCMargin, XtRDimension,  sizeof(Dimension),
       offset(menu.arrow_spacing), XtRImmediate, (XtPointer)10},
  
    {XmNshadowThickness, XmCShadowThickness, XtRDimension,
       sizeof (Dimension), offset (menu.shadow_thickness),
!      XtRImmediate, (XtPointer)1},
    {XmNtopShadowColor, XmCTopShadowColor, XtRPixel, sizeof (Pixel),
       offset (menu.top_shadow_color), XtRImmediate, (XtPointer)-1},
    {XmNbottomShadowColor, XmCBottomShadowColor, XtRPixel, sizeof (Pixel),



reply via email to

[Prev in Thread] Current Thread [Next in Thread]