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
This commit is contained in:
Angus Leeming 2003-04-14 15:28:31 +00:00
parent e969b0ce22
commit dff84ad50d
3 changed files with 7 additions and 2 deletions

View 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:

View 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);

View 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, "[");