#include <Xm/TextF.h>
#include <Xm/ToggleB.h>
+/* #### Hacked by hand, not generated by XDesigner */
+extern Visual *visual;
+extern int visual_depth;
+extern Colormap cmap;
+
Widget passwd_dialog;
Widget passwd_form;
Widget spacer;
+void
create_passwd_dialog( parent )
Widget parent;
{
- Display *display = XtDisplay ( parent );
Widget children[8]; /* 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 widget4;
Widget widget7;
+
+ /* #### Hacked by hand, not generated by XDesigner */
+ ac = 0;
+ XtSetArg (al[ac], XmNvisual, visual); ac++;
+ XtSetArg (al[ac], XmNcolormap, cmap); ac++;
+ XtSetArg (al[ac], XmNdepth, visual_depth); ac++;
+
+
passwd_dialog = XmCreateDialogShell ( parent, "passwdDialog", al, ac );
passwd_form = XmCreateForm ( passwd_dialog, "passwdForm", al, ac );
roger_label = XmCreateDrawnButton ( passwd_form, "rogerLabel", al, ac );
passwd_done = XmCreatePushButton ( passwd_form, "passwdDone", al, ac );
passwd_cancel = XmCreatePushButton ( passwd_form, "passwdCancel", al, ac );
+ /* #### Hacked by hand, not generated by XDesigner */
+ ac = 0;
+
+
XtSetArg(al[ac], XmNtopAttachment, XmATTACH_FORM); ac++;
XtSetArg(al[ac], XmNtopOffset, 4); ac++;
XtSetArg(al[ac], XmNbottomAttachment, XmATTACH_FORM); ac++;
+void
create_resources_dialog( parent )
Widget parent;
{
- Display *display = XtDisplay ( parent );
Widget children[22]; /* 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 widget12;
Widget widget13;
Widget widget14;
Widget widget48;
Widget widget29;
+
+ /* #### Hacked by hand, not generated by XDesigner */
+ ac = 0;
+ XtSetArg (al[ac], XmNvisual, visual); ac++;
+ XtSetArg (al[ac], XmNcolormap, cmap); ac++;
+ XtSetArg (al[ac], XmNdepth, visual_depth); ac++;
+
+
resources_dialog = XmCreateDialogShell ( parent, "resourcesDialog", al, ac );
resources_form = XmCreateForm ( resources_dialog, "resourcesForm", al, ac );
+
+ /* #### Hacked by hand, not generated by XDesigner */
+ ac = 0;
+
widget12 = XmCreateLabel ( resources_form, "resourcesLabel", al, ac );
widget13 = XmCreateSeparator ( resources_form, "widget13", al, ac );
XtSetArg(al[ac], XmNalignment, XmALIGNMENT_END); ac++;
+void
create_demo_dialog( parent )
Widget parent;
{
- Display *display = XtDisplay ( parent );
Widget children[11]; /* 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 */
+
+ /* #### Hacked by hand, not generated by XDesigner */
+ ac = 0;
+ XtSetArg (al[ac], XmNvisual, visual); ac++;
+ XtSetArg (al[ac], XmNcolormap, cmap); ac++;
+ XtSetArg (al[ac], XmNdepth, visual_depth); ac++;
+
+
demo_dialog = XmCreateDialogShell ( parent, "demoDialog", al, ac );
demo_form = XmCreateForm ( demo_dialog, "demoForm", al, ac );
label1 = XmCreateLabel ( demo_form, "label1", al, ac );
demo_list = XmCreateScrolledList ( demo_form, "demoList", al, ac );
text_area = XtParent ( demo_list );
+ /* #### Hacked by hand, not generated by XDesigner */
+ ac = 0;
+
+
text_line = XmCreateTextField ( demo_form, "textLine", al, ac );
vline = XmCreateSeparator ( demo_form, "vline", al, ac );
next = XmCreatePushButton ( demo_form, "next", al, ac );