From: André Pönitz Date: Tue, 10 Sep 2002 15:53:33 +0000 (+0000) Subject: cosmetics X-Git-Tag: 1.6.10~18320 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=45083e7d7330f3e94d92bec19b3220d51bde34e2;p=features.git cosmetics git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5252 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/math_lefteqninset.C b/src/mathed/math_lefteqninset.C index cec496f1af..6e4bb6fc6a 100644 --- a/src/mathed/math_lefteqninset.C +++ b/src/mathed/math_lefteqninset.C @@ -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 "; +} + + diff --git a/src/mathed/math_lefteqninset.h b/src/mathed/math_lefteqninset.h index 2c480481a2..8233fef250 100644 --- a/src/mathed/math_lefteqninset.h +++ b/src/mathed/math_lefteqninset.h @@ -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