#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
#include "math_binaryopinset.h"
-#include "MathPainterInfo.h"
+#include "PainterInfo.h"
#include "support/LOstream.h"
#include "math_support.h"
#include "math_mathmlstream.h"
{}
-MathInset * MathBinaryOpInset::clone() const
+InsetBase * MathBinaryOpInset::clone() const
{
return new MathBinaryOpInset(*this);
}
}
-void MathBinaryOpInset::metrics(MathMetricsInfo & mi) const
+#warning Andre, have a look here. (Lgb)
+#if 0
+// That this is not declared in class MathBinaryOpInset makes
+// Doxygen give warnings. (Lgb)
+void MathBinaryOpInset::metrics(MetricsInfo & mi, Dimension & dim) const
{
mi_ = mi;
cell(0).metrics(mi);
ascent_ = max(cell(0).ascent(), cell(1).ascent());
descent_ = max(cell(0).descent(), cell(1).descent());
}
+#endif
-
-void MathBinaryOpInset::draw(MathPainterInfo & pain, int x, int y) const
+void MathBinaryOpInset::draw(PainterInfo & pain, int x, int y) const
{
cell(0).draw(pain, x, y);
drawChar(pain, LM_TC_CONST, mi_, x + cell(0).width() , y, op_);