if (cur.idx() == target)
return false;
cur.idx() = target;
- cur.pos() = cell(target).x2pos(cur.x_target());
+ cur.pos() = cell(target).x2pos(&cur.bv(), cur.x_target());
return true;
}
if (cur.idx() == target)
return false;
cur.idx() = target;
- cur.pos() = cell(target).x2pos(cur.x_target());
+ cur.pos() = cell(target).x2pos(&cur.bv(), cur.x_target());
return true;
}
if (cur.idx() == target)
return false;
cur.idx() = target;
- cur.pos() = cell(target).x2pos(cur.x_target());
+ cur.pos() = cell(target).x2pos(&cur.bv(), cur.x_target());
return true;
}
}
}
metricsMarkers(dim);
- // Cache the inset dimension.
- setDimCache(mi, dim);
}
}
-void InsetMathFrac::drawT(TextPainter & pain, int x, int y) const
+void InsetMathFrac::drawT(TextPainter & /*pain*/, int /*x*/, int /*y*/) const
{
// FIXME: BROKEN!
/*
dim.wid = max(dim0.wid, dim1.wid) + 2;
dim.asc = dim0.height() + 2 + 5;
dim.des = dim1.height() + 2 - 5;
- // Cache the inset dimension.
- setDimCache(mi, dim);
}
dim.wid = max(dim0.width(), dim1.width()) + 2;
dim.asc = dim0.height() + 2 + 5;
dim.des = dim1.height() + 2 - 5;
- // Cache the inset dimension.
- setDimCache(mi, dim);
}
dim.des = dim1.height() + 4 - 5;
dim.wid = max(dim0.width(), dim1.wid) + 2 * dw(dim.height()) + 4;
metricsMarkers2(dim);
- // Cache the inset dimension.
- setDimCache(mi, dim);
}
dim.des = dim1.height() + 4 - 5;
dim.wid = max(dim0.width(), dim1.wid) + 2 * dw(dim.height()) + 4;
metricsMarkers2(dim);
- // Cache the inset dimension.
- setDimCache(mi, dim);
}
dim.des = dim1.height() + 4 - 5;
dim.wid = max(dim0.width(), dim1.wid) + 2 * dw(dim.height()) + 4;
metricsMarkers2(dim);
- // Cache the inset dimension.
- setDimCache(mi, dim);
}