mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
fix indexlist frame
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5258 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f560947a18
commit
b2e770a640
@ -1,3 +1,8 @@
|
||||
2002-09-11 John Levon <levon@movementarian.org>
|
||||
|
||||
* Painter.C: draw frame after background. This is needed
|
||||
on Qt but not xforms ??
|
||||
|
||||
2002-09-05 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* all files: modify the headers as discussed on the list.
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user