]> git.lyx.org Git - features.git/commitdiff
Remove a couple of hard-coded LColor::black entries.
authorAngus Leeming <leeming@lyx.org>
Mon, 14 Apr 2003 15:28:31 +0000 (15:28 +0000)
committerAngus Leeming <leeming@lyx.org>
Mon, 14 Apr 2003 15:28:31 +0000 (15:28 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6800 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/ChangeLog
src/mathed/math_fboxinset.C
src/mathed/math_frameboxinset.C

index 4917919340ff4849a8ff09a1ffeb7cfde7f89635..7b8213826f9324cd341c1d0a4aac679b5a96e257 100644 (file)
@@ -1,3 +1,8 @@
+2003-04-14  Angus Leeming  <leeming@lyx.org>
+
+       * math_fboxinset.C:
+       * math_frameboxinset.C: s/\(LColor::\)black/\1foreground/
+
 2003-04-02  John Levon  <levon@movementarian.org>
 
        * formulabase.C:
index d6f9e1fbd491e7e5155d5070b222a0752b47a875..6e36ae4d22fa4f3424603cac722a917e92e07ee4 100644 (file)
@@ -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);
index 44306c45bda4dc9724e66d2ef71642c9541cd11e..c2f804c2f80405ee72c1b9a76acefd490c206d35 100644 (file)
@@ -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, "[");