
Arg TopLevelArg[] = {{XtNwidth,(XtArgVal)500},{XtNheight,(XtArgVal)300}};
Arg InputBoxArg[] = {       /* Cellsize */
	{XtNwidth,(XtArgVal)10},{XtNheight,(XtArgVal)300},
	{XtNborderWidth,(XtArgVal)0},
	{XtNvertDistance,(XtArgVal)30},
	{XtNorientation,(XtArgVal)XtorientVertical},
	{XtNbottom,(XtArgVal)XawChainBottom},{XtNtop,(XtArgVal)XawChainTop},
	{XtNleft,(XtArgVal)XawChainLeft},{XtNright,(XtArgVal)XawChainLeft}

};
Arg SelectBoxArg[] = {      /* Status */
	{XtNheight,(XtArgVal)10},
	{XtNwidth,(XtArgVal)0},
	{XtNborderWidth,(XtArgVal)0},
	{XtNbottom,(XtArgVal)XawChainTop},{XtNtop,(XtArgVal)XawChainTop},
	{XtNleft,(XtArgVal)XawChainLeft},{XtNright,(XtArgVal)XawChainRight}

};
Arg BWLabelArg[] = {
	{XtNborderWidth,(XtArgVal)0},{XtNresize,(XtArgVal)"True"}
};
Arg ShowLabelArg[] = {
	{XtNborderWidth,(XtArgVal)0},{XtNresize,(XtArgVal)"True"},
	{XtNwidth,(XtArgVal)180}
};
Arg CanvasArg[] = {       /* Cellsize */
        {XtNwidth,(XtArgVal)200},{XtNheight,(XtArgVal)200},
	{XtNborderWidth,(XtArgVal)1},
	{XtNvertDistance,(XtArgVal)35},{XtNhorizDistance,(XtArgVal)60},
	{XtNbottom,(XtArgVal)XawChainBottom},{XtNtop,(XtArgVal)XawChainTop},
	{XtNleft,(XtArgVal)XawChainLeft},{XtNright,(XtArgVal)XawChainRight},
	{XtNallowHoriz,(XtArgVal)True},{XtNallowVert,(XtArgVal)True}

};
Arg DrawAreaArg[] = {
	{XtNwidth,(XtArgVal) MAXWIDTH},
	{XtNheight,(XtArgVal)MAXSCANLINES}
};

Arg RadioSelectArg[] = {
	{XtNstate,(XtArgVal)True}
};

#define XtNmaxScanLines	"maxScanLines"
#define XtCMaxScanLines	"MaxScanLines"

static XtResource XscanRes[] = {
	{ XtNmaxScanLines, XtCMaxScanLines,XtRInt, sizeof(int),
	  XtOffsetOf(XscanApp,MaxScanLines),XtRImmediate,
	  (XtPointer)MAXSCANLINES}
};
