diff lwlib/energize/leb_psheet.xdc @ 0:376386a54a3c r19-14

Import from CVS: tag r19-14
author cvs
date Mon, 13 Aug 2007 08:45:50 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lwlib/energize/leb_psheet.xdc	Mon Aug 13 08:45:50 2007 +0200
@@ -0,0 +1,324 @@
+
+/*
+** Generated by X-Designer 
+*/
+/*
+**LIBS: -lXm -lXt -lX11
+*/
+
+#include <X11/Xatom.h>
+#include <X11/Intrinsic.h>
+#include <X11/Shell.h>
+
+#include <Xm/Xm.h>
+#include <Xm/DialogS.h>
+#include <Xm/Form.h>
+#include <Xm/Frame.h>
+#include <Xm/Label.h>
+#include <Xm/PushB.h>
+#include <Xm/RowColumn.h>
+#include <Xm/Separator.h>
+#include <Xm/TextF.h>
+#include <Xm/ToggleB.h>
+#include <Xm/ToggleBG.h>
+
+
+
+
+create_widget0( parent )
+Widget parent;
+{
+	Display *display = XtDisplay ( parent );
+	Widget children[17];      /* Children to manage */
+	Arg al[64];           /* Arg List */
+	register int ac = 0;      /* Arg Count */
+	char from_s [256];    /* For font list conversion */
+	XrmValue from_value, to_value; /* ditto */
+	int fg, bg;           /* colour values for pixmaps */ 
+	XmString *list_items; /* For list items */
+	int list_item;        /* Index for list_items */
+	XmString xmstrings[15];    /* temporary storage for XmStrings */
+	Widget widget0;
+	Widget widget1;
+	Widget widget2;
+	Widget widget3;
+	Widget widget4;
+	Widget widget5;
+	Widget widget6;
+	Widget widget7;
+	Widget widget8;
+	Widget widget9;
+	Widget widget10;
+	Widget widget11;
+	Widget widget12;
+	Widget widget13;
+	Widget widget14;
+	Widget widget15;
+	Widget widget16;
+	Widget widget17;
+	Widget widget18;
+	Widget widget19;
+	Widget widget20;
+	Widget widget21;
+	Widget widget22;
+
+	XtSetArg(al[ac], XmNallowShellResize, TRUE); ac++;
+	widget0 = XmCreateDialogShell ( parent, "widget0", al, ac );
+	ac = 0;
+	XtSetArg(al[ac], XmNshadowType, XmSHADOW_OUT); ac++;
+	widget1 = XmCreateFrame ( widget0, "lebrowserPanel", al, ac );
+	ac = 0;
+	XtSetArg(al[ac], XmNautoUnmanage, FALSE); ac++;
+	widget2 = XmCreateForm ( widget1, "panel", al, ac );
+	ac = 0;
+	widget3 = XmCreateLabel ( widget2, "nameLabel", al, ac );
+	XtSetArg(al[ac], XmNmarginHeight, 2); ac++;
+	XtSetArg(al[ac], XmNmarginWidth, 1); ac++;
+	widget4 = XmCreateTextField ( widget2, "nameText", al, ac );
+	ac = 0;
+	widget5 = XmCreateLabel ( widget2, "fileLabel", al, ac );
+	XtSetArg(al[ac], XmNmarginHeight, 2); ac++;
+	XtSetArg(al[ac], XmNmarginWidth, 1); ac++;
+	widget6 = XmCreateTextField ( widget2, "fileText", al, ac );
+	ac = 0;
+	widget7 = XmCreateLabel ( widget2, "projectLabel", al, ac );
+	XtSetArg(al[ac], XmNmarginHeight, 2); ac++;
+	XtSetArg(al[ac], XmNmarginWidth, 1); ac++;
+	widget8 = XmCreateTextField ( widget2, "projectText", al, ac );
+	ac = 0;
+	widget9 = XmCreateToggleButton ( widget2, "functions", al, ac );
+	widget10 = XmCreateToggleButton ( widget2, "classes", al, ac );
+	widget11 = XmCreateToggleButton ( widget2, "macros", al, ac );
+	widget12 = XmCreateToggleButton ( widget2, "variables", al, ac );
+	widget13 = XmCreateToggleButton ( widget2, "types", al, ac );
+	widget14 = XmCreateToggleButton ( widget2, "whereDeclared", al, ac );
+	widget15 = XmCreateToggleButton ( widget2, "verbose", al, ac );
+	widget16 = XmCreateLabel ( widget2, "separator", al, ac );
+	XtSetArg(al[ac], XmNmarginWidth, 0); ac++;
+	XtSetArg(al[ac], XmNmarginHeight, 0); ac++;
+	XtSetArg(al[ac], XmNorientation, XmHORIZONTAL); ac++;
+	widget17 = XmCreateRadioBox ( widget2, "nameStyle", al, ac );
+	ac = 0;
+	widget18 = XmCreateToggleButtonGadget ( widget17, "nameOnly", al, ac );
+	widget19 = XmCreateToggleButtonGadget ( widget17, "prototype", al, ac );
+	widget20 = XmCreateToggleButtonGadget ( widget17, "mangled", al, ac );
+	XtSetArg(al[ac], XmNwidth, 350); ac++;
+	widget21 = XmCreateSeparator ( widget2, "separator", al, ac );
+	ac = 0;
+	widget22 = XmCreatePushButton ( widget2, "apply", al, ac );
+
+	XtSetArg(al[ac], XmNtopAttachment, XmATTACH_FORM); ac++;
+	XtSetArg(al[ac], XmNtopOffset, 5); ac++;
+	XtSetArg(al[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
+	XtSetArg(al[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
+	XtSetArg(al[ac], XmNleftOffset, 2); ac++;
+	XtSetArg(al[ac], XmNrightAttachment, XmATTACH_NONE); ac++;
+        XtSetValues ( widget3,al, ac );
+	ac = 0;
+
+	XtSetArg(al[ac], XmNtopAttachment, XmATTACH_OPPOSITE_WIDGET); ac++;
+	XtSetArg(al[ac], XmNtopOffset, -4); ac++;
+	XtSetArg(al[ac], XmNtopWidget, widget3); ac++;
+	XtSetArg(al[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
+	XtSetArg(al[ac], XmNleftAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNleftOffset, 2); ac++;
+	XtSetArg(al[ac], XmNleftWidget, widget3); ac++;
+	XtSetArg(al[ac], XmNrightAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNrightOffset, 2); ac++;
+	XtSetArg(al[ac], XmNrightWidget, widget22); ac++;
+        XtSetValues ( widget4,al, ac );
+	ac = 0;
+
+	XtSetArg(al[ac], XmNtopAttachment, XmATTACH_OPPOSITE_WIDGET); ac++;
+	XtSetArg(al[ac], XmNtopOffset, 4); ac++;
+	XtSetArg(al[ac], XmNtopWidget, widget6); ac++;
+	XtSetArg(al[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
+	XtSetArg(al[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
+	XtSetArg(al[ac], XmNleftOffset, 2); ac++;
+	XtSetArg(al[ac], XmNrightAttachment, XmATTACH_NONE); ac++;
+        XtSetValues ( widget5,al, ac );
+	ac = 0;
+
+	XtSetArg(al[ac], XmNtopAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNtopOffset, 2); ac++;
+	XtSetArg(al[ac], XmNtopWidget, widget4); ac++;
+	XtSetArg(al[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
+	XtSetArg(al[ac], XmNleftAttachment, XmATTACH_OPPOSITE_WIDGET); ac++;
+	XtSetArg(al[ac], XmNleftOffset, 0); ac++;
+	XtSetArg(al[ac], XmNleftWidget, widget4); ac++;
+	XtSetArg(al[ac], XmNrightAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNrightOffset, 2); ac++;
+	XtSetArg(al[ac], XmNrightWidget, widget22); ac++;
+        XtSetValues ( widget6,al, ac );
+	ac = 0;
+
+	XtSetArg(al[ac], XmNtopAttachment, XmATTACH_OPPOSITE_WIDGET); ac++;
+	XtSetArg(al[ac], XmNtopOffset, 4); ac++;
+	XtSetArg(al[ac], XmNtopWidget, widget8); ac++;
+	XtSetArg(al[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
+	XtSetArg(al[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
+	XtSetArg(al[ac], XmNleftOffset, 2); ac++;
+	XtSetArg(al[ac], XmNrightAttachment, XmATTACH_NONE); ac++;
+        XtSetValues ( widget7,al, ac );
+	ac = 0;
+
+	XtSetArg(al[ac], XmNtopAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNtopOffset, 2); ac++;
+	XtSetArg(al[ac], XmNtopWidget, widget6); ac++;
+	XtSetArg(al[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
+	XtSetArg(al[ac], XmNleftAttachment, XmATTACH_OPPOSITE_WIDGET); ac++;
+	XtSetArg(al[ac], XmNleftOffset, 0); ac++;
+	XtSetArg(al[ac], XmNleftWidget, widget6); ac++;
+	XtSetArg(al[ac], XmNrightAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNrightOffset, 2); ac++;
+	XtSetArg(al[ac], XmNrightWidget, widget22); ac++;
+        XtSetValues ( widget8,al, ac );
+	ac = 0;
+
+	XtSetArg(al[ac], XmNtopAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNtopOffset, 2); ac++;
+	XtSetArg(al[ac], XmNtopWidget, widget8); ac++;
+	XtSetArg(al[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
+	XtSetArg(al[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
+	XtSetArg(al[ac], XmNleftOffset, 2); ac++;
+	XtSetArg(al[ac], XmNrightAttachment, XmATTACH_NONE); ac++;
+        XtSetValues ( widget9,al, ac );
+	ac = 0;
+
+	XtSetArg(al[ac], XmNtopAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNtopOffset, 2); ac++;
+	XtSetArg(al[ac], XmNtopWidget, widget8); ac++;
+	XtSetArg(al[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
+	XtSetArg(al[ac], XmNleftAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNleftOffset, 2); ac++;
+	XtSetArg(al[ac], XmNleftWidget, widget9); ac++;
+	XtSetArg(al[ac], XmNrightAttachment, XmATTACH_NONE); ac++;
+        XtSetValues ( widget10,al, ac );
+	ac = 0;
+
+	XtSetArg(al[ac], XmNtopAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNtopOffset, 2); ac++;
+	XtSetArg(al[ac], XmNtopWidget, widget8); ac++;
+	XtSetArg(al[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
+	XtSetArg(al[ac], XmNleftAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNleftOffset, 2); ac++;
+	XtSetArg(al[ac], XmNleftWidget, widget10); ac++;
+	XtSetArg(al[ac], XmNrightAttachment, XmATTACH_NONE); ac++;
+        XtSetValues ( widget11,al, ac );
+	ac = 0;
+
+	XtSetArg(al[ac], XmNtopAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNtopOffset, 2); ac++;
+	XtSetArg(al[ac], XmNtopWidget, widget8); ac++;
+	XtSetArg(al[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
+	XtSetArg(al[ac], XmNleftAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNleftOffset, 2); ac++;
+	XtSetArg(al[ac], XmNleftWidget, widget11); ac++;
+	XtSetArg(al[ac], XmNrightAttachment, XmATTACH_NONE); ac++;
+        XtSetValues ( widget12,al, ac );
+	ac = 0;
+
+	XtSetArg(al[ac], XmNtopAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNtopOffset, 2); ac++;
+	XtSetArg(al[ac], XmNtopWidget, widget8); ac++;
+	XtSetArg(al[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
+	XtSetArg(al[ac], XmNleftAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNleftOffset, 2); ac++;
+	XtSetArg(al[ac], XmNleftWidget, widget12); ac++;
+	XtSetArg(al[ac], XmNrightAttachment, XmATTACH_NONE); ac++;
+        XtSetValues ( widget13,al, ac );
+	ac = 0;
+
+	XtSetArg(al[ac], XmNtopAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNtopOffset, 2); ac++;
+	XtSetArg(al[ac], XmNtopWidget, widget21); ac++;
+	XtSetArg(al[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
+	XtSetArg(al[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
+	XtSetArg(al[ac], XmNleftOffset, 2); ac++;
+	XtSetArg(al[ac], XmNrightAttachment, XmATTACH_NONE); ac++;
+        XtSetValues ( widget14,al, ac );
+	ac = 0;
+
+	XtSetArg(al[ac], XmNtopAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNtopOffset, 2); ac++;
+	XtSetArg(al[ac], XmNtopWidget, widget21); ac++;
+	XtSetArg(al[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
+	XtSetArg(al[ac], XmNleftAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNleftOffset, 2); ac++;
+	XtSetArg(al[ac], XmNleftWidget, widget14); ac++;
+	XtSetArg(al[ac], XmNrightAttachment, XmATTACH_NONE); ac++;
+        XtSetValues ( widget15,al, ac );
+	ac = 0;
+
+	XtSetArg(al[ac], XmNtopAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNtopOffset, 2); ac++;
+	XtSetArg(al[ac], XmNtopWidget, widget21); ac++;
+	XtSetArg(al[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
+	XtSetArg(al[ac], XmNleftAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNleftOffset, 2); ac++;
+	XtSetArg(al[ac], XmNleftWidget, widget15); ac++;
+	XtSetArg(al[ac], XmNrightAttachment, XmATTACH_NONE); ac++;
+        XtSetValues ( widget16,al, ac );
+	ac = 0;
+
+	XtSetArg(al[ac], XmNtopAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNtopOffset, 2); ac++;
+	XtSetArg(al[ac], XmNtopWidget, widget21); ac++;
+	XtSetArg(al[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
+	XtSetArg(al[ac], XmNleftAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNleftOffset, 2); ac++;
+	XtSetArg(al[ac], XmNleftWidget, widget16); ac++;
+	XtSetArg(al[ac], XmNrightAttachment, XmATTACH_NONE); ac++;
+        XtSetValues ( widget17,al, ac );
+	ac = 0;
+
+	XtSetArg(al[ac], XmNtopAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNtopOffset, 0); ac++;
+	XtSetArg(al[ac], XmNtopWidget, widget9); ac++;
+	XtSetArg(al[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
+	XtSetArg(al[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
+	XtSetArg(al[ac], XmNleftOffset, 0); ac++;
+	XtSetArg(al[ac], XmNrightAttachment, XmATTACH_FORM); ac++;
+	XtSetArg(al[ac], XmNrightOffset, 0); ac++;
+        XtSetValues ( widget21,al, ac );
+	ac = 0;
+
+	XtSetArg(al[ac], XmNtopAttachment, XmATTACH_WIDGET); ac++;
+	XtSetArg(al[ac], XmNtopOffset, -4); ac++;
+	XtSetArg(al[ac], XmNtopWidget, widget3); ac++;
+	XtSetArg(al[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
+	XtSetArg(al[ac], XmNleftAttachment, XmATTACH_NONE); ac++;
+	XtSetArg(al[ac], XmNrightAttachment, XmATTACH_FORM); ac++;
+	XtSetArg(al[ac], XmNrightOffset, 2); ac++;
+        XtSetValues ( widget22,al, ac );
+	ac = 0;
+	children[ac++] = widget18;
+	children[ac++] = widget19;
+	children[ac++] = widget20;
+	XtManageChildren(children, ac);
+	ac = 0;
+	children[ac++] = widget3;
+	children[ac++] = widget4;
+	children[ac++] = widget5;
+	children[ac++] = widget6;
+	children[ac++] = widget7;
+	children[ac++] = widget8;
+	children[ac++] = widget9;
+	children[ac++] = widget10;
+	children[ac++] = widget11;
+	children[ac++] = widget12;
+	children[ac++] = widget13;
+	children[ac++] = widget14;
+	children[ac++] = widget15;
+	children[ac++] = widget16;
+	children[ac++] = widget17;
+	children[ac++] = widget21;
+	children[ac++] = widget22;
+	XtManageChildren(children, ac);
+	ac = 0;
+	children[ac++] = widget2;
+	XtManageChildren(children, ac);
+	ac = 0;
+}
+
+