]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_binaryopinset.C
preview as preview can...
[lyx.git] / src / mathed / math_binaryopinset.C
index b20a12fbca22bd6f9b882d0f4b15da4fc82e2e1d..aaac72a1867c19725d0153fe0f543e5af40dca4f 100644 (file)
@@ -5,7 +5,7 @@
 #endif
 
 #include "math_binaryopinset.h"
-#include "Painter.h"
+#include "MathPainterInfo.h"
 #include "support/LOstream.h"
 #include "math_support.h"
 #include "math_mathmlstream.h"
@@ -31,7 +31,7 @@ int MathBinaryOpInset::opwidth() const
 }
 
 
-void MathBinaryOpInset::metrics(MathMetricsInfo const & mi) const
+void MathBinaryOpInset::metrics(MathMetricsInfo & mi) const
 {
        mi_ = mi;
        xcell(0).metrics(mi);
@@ -42,7 +42,7 @@ void MathBinaryOpInset::metrics(MathMetricsInfo const & mi) const
 }
 
 
-void MathBinaryOpInset::draw(Painter & pain, int x, int y) const
+void MathBinaryOpInset::draw(MathPainterInfo & pain, int x, int y) const
 {
        xcell(0).draw(pain, x, y);
        drawChar(pain, LM_TC_CONST, mi_, x + xcell(0).width() , y, op_);