From 45083e7d7330f3e94d92bec19b3220d51bde34e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Tue, 10 Sep 2002 15:53:33 +0000 Subject: [PATCH] cosmetics git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5252 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_lefteqninset.C | 16 +++++++++++++--- src/mathed/math_lefteqninset.h | 2 ++ 2 files changed, 15 insertions(+), 3 deletions(-) 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 -- 2.39.5