diff options
| author | Pavel Janík | 2002-04-29 09:10:28 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-04-29 09:10:28 +0000 |
| commit | 2376c841acca847a7dd5ed9693628e71d8a0e510 (patch) | |
| tree | 26ae29278047827a2d4c699bf22a0ea03f8a2176 | |
| parent | cfa5cf43d10e6726aef644d7262d38ff317cb32b (diff) | |
| download | emacs-2376c841acca847a7dd5ed9693628e71d8a0e510.tar.gz emacs-2376c841acca847a7dd5ed9693628e71d8a0e510.zip | |
Change default values.
| -rw-r--r-- | lwlib/xlwmenu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c index d98ce469f9f..691213ab3be 100644 --- a/lwlib/xlwmenu.c +++ b/lwlib/xlwmenu.c | |||
| @@ -129,7 +129,7 @@ xlwMenuTranslations [] = | |||
| 129 | 129 | ||
| 130 | /* FIXME: Should ESC close one level of menu structure or the complete menu? */ | 130 | /* FIXME: Should ESC close one level of menu structure or the complete menu? */ |
| 131 | 131 | ||
| 132 | /* FIXME: Should F10 enter to menu? Which one? File? */ | 132 | /* FIXME: F10 should enter the menu, the first one in the menu-bar. */ |
| 133 | 133 | ||
| 134 | #define offset(field) XtOffset(XlwMenuWidget, field) | 134 | #define offset(field) XtOffset(XlwMenuWidget, field) |
| 135 | static XtResource | 135 | static XtResource |
| @@ -142,17 +142,17 @@ xlwMenuResources[] = | |||
| 142 | {XtNbuttonForeground, XtCButtonForeground, XtRPixel, sizeof(Pixel), | 142 | {XtNbuttonForeground, XtCButtonForeground, XtRPixel, sizeof(Pixel), |
| 143 | offset(menu.button_foreground), XtRString, "XtDefaultForeground"}, | 143 | offset(menu.button_foreground), XtRString, "XtDefaultForeground"}, |
| 144 | {XtNmargin, XtCMargin, XtRDimension, sizeof(Dimension), | 144 | {XtNmargin, XtCMargin, XtRDimension, sizeof(Dimension), |
| 145 | offset(menu.margin), XtRImmediate, (XtPointer) 4}, | 145 | offset(menu.margin), XtRImmediate, (XtPointer)1}, |
| 146 | {XtNhorizontalSpacing, XtCMargin, XtRDimension, sizeof(Dimension), | 146 | {XtNhorizontalSpacing, XtCMargin, XtRDimension, sizeof(Dimension), |
| 147 | offset(menu.horizontal_spacing), XtRImmediate, (XtPointer)3}, | 147 | offset(menu.horizontal_spacing), XtRImmediate, (XtPointer)3}, |
| 148 | {XtNverticalSpacing, XtCMargin, XtRDimension, sizeof(Dimension), | 148 | {XtNverticalSpacing, XtCMargin, XtRDimension, sizeof(Dimension), |
| 149 | offset(menu.vertical_spacing), XtRImmediate, (XtPointer)1}, | 149 | offset(menu.vertical_spacing), XtRImmediate, (XtPointer)2}, |
| 150 | {XtNarrowSpacing, XtCMargin, XtRDimension, sizeof(Dimension), | 150 | {XtNarrowSpacing, XtCMargin, XtRDimension, sizeof(Dimension), |
| 151 | offset(menu.arrow_spacing), XtRImmediate, (XtPointer)10}, | 151 | offset(menu.arrow_spacing), XtRImmediate, (XtPointer)10}, |
| 152 | 152 | ||
| 153 | {XmNshadowThickness, XmCShadowThickness, XtRDimension, | 153 | {XmNshadowThickness, XmCShadowThickness, XtRDimension, |
| 154 | sizeof (Dimension), offset (menu.shadow_thickness), | 154 | sizeof (Dimension), offset (menu.shadow_thickness), |
| 155 | XtRImmediate, (XtPointer) 2}, | 155 | XtRImmediate, (XtPointer)1}, |
| 156 | {XmNtopShadowColor, XmCTopShadowColor, XtRPixel, sizeof (Pixel), | 156 | {XmNtopShadowColor, XmCTopShadowColor, XtRPixel, sizeof (Pixel), |
| 157 | offset (menu.top_shadow_color), XtRImmediate, (XtPointer)-1}, | 157 | offset (menu.top_shadow_color), XtRImmediate, (XtPointer)-1}, |
| 158 | {XmNbottomShadowColor, XmCBottomShadowColor, XtRPixel, sizeof (Pixel), | 158 | {XmNbottomShadowColor, XmCBottomShadowColor, XtRPixel, sizeof (Pixel), |