Commit 2376c841 authored by Pavel Janík's avatar Pavel Janík

Change default values.

parent cfa5cf43
...@@ -129,7 +129,7 @@ xlwMenuTranslations [] = ...@@ -129,7 +129,7 @@ xlwMenuTranslations [] =
/* 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? */
/* FIXME: Should F10 enter to menu? Which one? File? */ /* FIXME: F10 should enter the menu, the first one in the menu-bar. */
#define offset(field) XtOffset(XlwMenuWidget, field) #define offset(field) XtOffset(XlwMenuWidget, field)
static XtResource static XtResource
...@@ -142,17 +142,17 @@ xlwMenuResources[] = ...@@ -142,17 +142,17 @@ xlwMenuResources[] =
{XtNbuttonForeground, XtCButtonForeground, XtRPixel, sizeof(Pixel), {XtNbuttonForeground, XtCButtonForeground, XtRPixel, sizeof(Pixel),
offset(menu.button_foreground), XtRString, "XtDefaultForeground"}, offset(menu.button_foreground), XtRString, "XtDefaultForeground"},
{XtNmargin, XtCMargin, XtRDimension, sizeof(Dimension), {XtNmargin, XtCMargin, XtRDimension, sizeof(Dimension),
offset(menu.margin), XtRImmediate, (XtPointer) 4}, offset(menu.margin), XtRImmediate, (XtPointer)1},
{XtNhorizontalSpacing, XtCMargin, XtRDimension, sizeof(Dimension), {XtNhorizontalSpacing, XtCMargin, XtRDimension, sizeof(Dimension),
offset(menu.horizontal_spacing), XtRImmediate, (XtPointer)3}, offset(menu.horizontal_spacing), XtRImmediate, (XtPointer)3},
{XtNverticalSpacing, XtCMargin, XtRDimension, sizeof(Dimension), {XtNverticalSpacing, XtCMargin, XtRDimension, sizeof(Dimension),
offset(menu.vertical_spacing), XtRImmediate, (XtPointer)1}, offset(menu.vertical_spacing), XtRImmediate, (XtPointer)2},
{XtNarrowSpacing, XtCMargin, XtRDimension, sizeof(Dimension), {XtNarrowSpacing, XtCMargin, XtRDimension, sizeof(Dimension),
offset(menu.arrow_spacing), XtRImmediate, (XtPointer)10}, offset(menu.arrow_spacing), XtRImmediate, (XtPointer)10},
{XmNshadowThickness, XmCShadowThickness, XtRDimension, {XmNshadowThickness, XmCShadowThickness, XtRDimension,
sizeof (Dimension), offset (menu.shadow_thickness), sizeof (Dimension), offset (menu.shadow_thickness),
XtRImmediate, (XtPointer) 2}, XtRImmediate, (XtPointer)1},
{XmNtopShadowColor, XmCTopShadowColor, XtRPixel, sizeof (Pixel), {XmNtopShadowColor, XmCTopShadowColor, XtRPixel, sizeof (Pixel),
offset (menu.top_shadow_color), XtRImmediate, (XtPointer)-1}, offset (menu.top_shadow_color), XtRImmediate, (XtPointer)-1},
{XmNbottomShadowColor, XmCBottomShadowColor, XtRPixel, sizeof (Pixel), {XmNbottomShadowColor, XmCBottomShadowColor, XtRPixel, sizeof (Pixel),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment