X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xoptions.c;h=b8a8a680a2f6d5a44f98107b7b5e1d7b0325964f;hb=b80a07a436b0211145c915a7d79bf7c41ae891e4;hp=22737c1f642d614a14045c72a648bfb0fbfbf9da;hpb=30ca1b29405ac3b9db947a35f1701b2a47bfd513;p=xboard.git diff --git a/xoptions.c b/xoptions.c index 22737c1..b8a8a68 100644 --- a/xoptions.c +++ b/xoptions.c @@ -1065,6 +1065,20 @@ void NewVariantPopUp() b_ok= XtCreateManagedWidget(_(" OK "), commandWidgetClass, form, args, j); XtAddCallback(b_ok, XtNcallback, NewVariantCallback, (XtPointer) 0); + j=0; + XtSetArg(args[j], XtNfromVert, buttonDesc[14].handle); j++; +// XtSetArg(args[j], XtNheight, 70); j++; + XtSetArg(args[j], XtNbottom, XtChainBottom); j++; + XtSetArg(args[j], XtNtop, XtChainBottom); j++; + XtSetArg(args[j], XtNleft, XtChainLeft); j++; + XtSetArg(args[j], XtNright, XtChainRight); j++; + XtSetArg(args[j], XtNlabel, _("WARNING: variants with un-orthodox\n" + "pieces only have built-in bitmaps\n" + "for -boardSize middling, bulky and\n" + "petite, and substitute king or amazon\n" + "for missing bitmaps. (See manual.)")); j++; + XtCreateManagedWidget("warning", labelWidgetClass, form, args, j); + XtRealizeWidget(popup); CatchDeleteWindow(popup, "NewVariantPopDown"); @@ -1724,5 +1738,4 @@ void XXXMenuProc(w, event, prms, nprms) { XXXPopUp(); } -#endif - +#endif \ No newline at end of file