From dff84ad50d66e609e99299e0f1fe5aff6a963b41 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Mon, 14 Apr 2003 15:28:31 +0000 Subject: [PATCH] Remove a couple of hard-coded LColor::black entries. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6800 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/ChangeLog | 5 +++++ src/mathed/math_fboxinset.C | 2 +- src/mathed/math_frameboxinset.C | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 4917919340..7b8213826f 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,8 @@ +2003-04-14 Angus Leeming + + * math_fboxinset.C: + * math_frameboxinset.C: s/\(LColor::\)black/\1foreground/ + 2003-04-02 John Levon * formulabase.C: diff --git a/src/mathed/math_fboxinset.C b/src/mathed/math_fboxinset.C index d6f9e1fbd4..6e36ae4d22 100644 --- a/src/mathed/math_fboxinset.C +++ b/src/mathed/math_fboxinset.C @@ -45,7 +45,7 @@ void MathFboxInset::metrics(MetricsInfo & mi) const void MathFboxInset::draw(PainterInfo & pi, int x, int y) const { pi.pain.rectangle(x + 1, y - ascent() + 1, width() - 2, height() - 2, - LColor::black); + LColor::foreground); if (key_->name == "fbox") { FontSetChanger dummy(pi.base, "textnormal"); cell(0).draw(pi, x + 5, y); diff --git a/src/mathed/math_frameboxinset.C b/src/mathed/math_frameboxinset.C index 44306c45bd..c2f804c2f8 100644 --- a/src/mathed/math_frameboxinset.C +++ b/src/mathed/math_frameboxinset.C @@ -37,7 +37,7 @@ void MathFrameboxInset::draw(PainterInfo & pi, int x, int y) const { FontSetChanger dummy(pi.base, "textnormal"); pi.pain.rectangle(x + 1, y - ascent() + 1, width() - 2, height() - 2, - LColor::black); + LColor::foreground); x += 5; drawStrBlack(pi, x, y, "[");