]> git.lyx.org Git - features.git/commitdiff
cosmetics
authorAndré Pönitz <poenitz@gmx.net>
Tue, 10 Sep 2002 15:53:33 +0000 (15:53 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Tue, 10 Sep 2002 15:53:33 +0000 (15:53 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5252 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_lefteqninset.C
src/mathed/math_lefteqninset.h

index cec496f1afe1bd2a692856e366f1667c9bb6d9f2..6e4bb6fc6ad86c698b11bd57fc405378592e3308 100644 (file)
@@ -4,6 +4,7 @@
 
 #include "math_lefteqninset.h"
 #include "math_support.h"
+#include "support/LOstream.h"
 
 
 MathLefteqnInset::MathLefteqnInset()
@@ -23,13 +24,14 @@ void MathLefteqnInset::metrics(MathMetricsInfo & mi) const
        dim_.a = cell(0).ascent() + 2;
        dim_.d = cell(0).descent() + 2;
        dim_.w = 4;
+       metricsMarkers2();
 }
 
 
-void MathLefteqnInset::draw(MathPainterInfo & pain, int x, int y) const
+void MathLefteqnInset::draw(MathPainterInfo & pi, int x, int y) const
 {
-       cell(0).draw(pain, x + 2, y);
-       //mathed_draw_framebox(pain, x, y, this);
+       cell(0).draw(pi, x + 2, y);
+       drawMarkers2(pi, x, y);
 }
 
 
@@ -37,3 +39,11 @@ string MathLefteqnInset::name() const
 {
        return "lefteqn";
 }
+
+
+void MathLefteqnInset::infoize(std::ostream & os) const
+{
+       os << "Lefteqn ";
+}
+
+
index 2c480481a21c8023382c0015e56468f9a1d54963..8233fef250820990d29f06b12d5aec721be71169 100644 (file)
@@ -22,5 +22,7 @@ public:
        void metrics(MathMetricsInfo & mi) const;
        ///
        void draw(MathPainterInfo & pi, int x, int y) const;
+       ///
+       void infoize(std::ostream & os) const;
 };
 #endif