}
void
-InitializeEngineOutput (Option *opt, Option *memo2)
+InitEngineOutput (Option *opt, Option *memo2)
{ // front-end, because it must have access to the pixmaps
Widget w = opt->handle;
memoWidget = memo2->handle;
}
void
-DrawIcon (Option *opt, int nIcon)
+DrawWidgetIcon (Option *opt, int nIcon)
{ // as we are already in X front-end, so do X-stuff here
Arg arg;
XtSetArg(arg, XtNleftBitmap, (XtArgVal) icons[nIcon]);
XtSetArg(arg, XtNstring, &val);
XtGetValues(w, &arg, 1);
shiftKey = strcmp(params[0], "0");
- if(LoadMultiPV(x, y, val, index, &start, &end)) {
+ if(LoadMultiPV(x, y, val, index, &start, &end, currentPV)) {
XawTextSetSelection( w, start, end );
highTextStart[currentPV] = start; highTextEnd[currentPV] = end;
}