String dots=" ... ";
Position gameHistoryX, gameHistoryY;
-Dimension gameHistoryW;
+Dimension gameHistoryW, gameHistoryH;
void
HistoryPopDown(object, user_data)
strcpy(moveblack,"");
};
}
+
/* check if ther is a white move left */
if(movewhite[0])
{
2, moveblack,
-1);
};
+
+ //TODO
+ // EvalGraphSet( first, last, current, pvInfoList ); // piggy-backed
return;
}
return;
/*-------- create the widgets ---------------*/
+//<<<<<<< HEAD
// j = 0;
// XtSetArg(args[j], XtNresizable, True); j++;
// XtSetArg(args[j], XtNallowShellResize, True); j++;
//#if TOPLEVEL
-// hist->sh =
+// hist->sh = historyShell =
// XtCreatePopupShell(_("Move list"), topLevelShellWidgetClass,
// shellWidget, args, j);
//#else
-// hist->sh =
+// hist->sh = historyShell =
// XtCreatePopupShell(_("Move list"), transientShellWidgetClass,
// shellWidget, args, j);
//#endif
//
// form =
// XtCreateManagedWidget("form", formWidgetClass, layout, args, j);
-// j=0;
//
// j = 0;
-//
// XtSetArg(args[j], XtNtop, XtChainTop); j++;
// XtSetArg(args[j], XtNbottom, XtChainBottom); j++;
// XtSetArg(args[j], XtNleft, XtChainLeft); j++;
// strcpy(hist->black[i],"");
// }
//
+// if(wpMoveHistory.width > 0) {
+// gameHistoryW = wpMoveHistory.width;
+// gameHistoryH = wpMoveHistory.height;
+// gameHistoryX = wpMoveHistory.x;
+// gameHistoryY = wpMoveHistory.y;
+// }
+//
// // [HGM] restore old position
+// if(gameHistoryW > 0) {
// j = 0;
-// XtSetArg(args[j], XtNx, &gameHistoryX); j++;
-// XtSetArg(args[j], XtNy, &gameHistoryY); j++;
-// XtSetArg(args[j], XtNwidth, &gameHistoryW); j++;
-// XtGetValues(shellWidget, args, j);
-// j = 0;
-// XtSetArg(args[j], XtNx, gameHistoryX + gameHistoryW); j++;
+// XtSetArg(args[j], XtNx, gameHistoryX); j++;
// XtSetArg(args[j], XtNy, gameHistoryY); j++;
+// XtSetArg(args[j], XtNwidth, gameHistoryW); j++;
+// XtSetArg(args[j], XtNheight, gameHistoryH); j++;
// XtSetValues(hist->sh, args, j);
+// }
// XtRealizeWidget(hist->sh);
//
// return hist->sh;
+//
}
void
return;
}
+Boolean
+MoveHistoryIsUp()
+{
+ // TODO
+ return 0;
+ // return hist && hist->Up;
+}