-create_passwd_dialog(Widget parent, Visual *visual, Colormap colormap)
-{
- Widget box, passwd_label2;
- int depth = visual_depth(XtScreen(parent), visual);
-
- passwd_dialog =
- XtVaCreatePopupShell("passwd_dialog", transientShellWidgetClass, parent,
- XtNtitle, NULL,
- XtNoverrideRedirect, TRUE,
- XtNvisual, visual,
- XtNcolormap, colormap,
- XtNdepth, depth,
- NULL);
-
- box = XtVaCreateManagedWidget("box", formWidgetClass, passwd_dialog,
- XtNleft, XtChainLeft,
- XtNright, XtChainRight,
- XtNtop, XtChainTop,
- XtNbottom, XtChainBottom,
- XtNvisual, visual,
- XtNcolormap, colormap,
- XtNdepth, depth,
- NULL);
-
- roger_label = XtVaCreateManagedWidget("roger", labelWidgetClass, box,
- XtNlabel, "",
- XtNleft, XtChainLeft,
- XtNright, XtChainRight,
- XtNtop, XtChainTop,
- NULL);
-
- passwd_label1 = XtVaCreateManagedWidget("label1", labelWidgetClass, box,
- XtNfromHoriz, roger_label,
- XtNright, XtChainRight,
- XtNtop, XtChainTop,
- NULL);
- passwd_label2 = XtVaCreateManagedWidget("label2", labelWidgetClass, box,
- XtNfromHoriz, roger_label,
- XtNright, XtChainRight,
- XtNfromVert, passwd_label1,
- NULL);
- passwd_label3 = XtVaCreateManagedWidget("label3", labelWidgetClass, box,
- XtNfromHoriz, roger_label,
- XtNright, XtChainRight,
- XtNfromVert, passwd_label2,
- NULL);
-
- passwd_form =
- XtVaCreateManagedWidget("passwd_form", dialogWidgetClass, box,
- XtNfromHoriz, roger_label,
- XtNright, XtChainRight,
- XtNfromVert, passwd_label3,
- NULL);
-}
-
-
-void
-create_resources_dialog(Widget parent, Visual *visual, Colormap colormap)