diff --git a/src/frontends/ChangeLog b/src/frontends/ChangeLog index 753082ce57..058d935faa 100644 --- a/src/frontends/ChangeLog +++ b/src/frontends/ChangeLog @@ -1,3 +1,8 @@ +2002-09-11 John Levon + + * Painter.C: draw frame after background. This is needed + on Qt but not xforms ?? + 2002-09-05 Angus Leeming * all files: modify the headers as discussed on the list. diff --git a/src/frontends/Painter.C b/src/frontends/Painter.C index 6ebfe00136..ec555e9624 100644 --- a/src/frontends/Painter.C +++ b/src/frontends/Painter.C @@ -69,15 +69,15 @@ Painter & Painter::rectText(int x, int baseline, font_metrics::rectText(str, font, width, ascent, descent); - if (frame != LColor::none) { - rectangle(x, baseline - ascent, width, ascent + descent, frame); - } - if (back != LColor::none) { fillRectangle(x + 1, baseline - ascent + 1, width - 1, ascent + descent - 1, back); } + if (frame != LColor::none) { + rectangle(x, baseline - ascent, width, ascent + descent, frame); + } + text(x + 3, baseline, str, font); return *this; }