mirror of
https://review.haiku-os.org/haiku
synced 2025-02-01 19:26:13 +01:00
fixed MiniTerminal rendering, for real now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12151 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4c7103986e
commit
d324aa8386
@ -503,17 +503,10 @@ DisplayDriverPainter::StrokeEllipse(const BRect &r, const DrawData *d)
|
||||
void
|
||||
DisplayDriverPainter::StrokeLine(const BPoint &start, const BPoint &end, const RGBColor &color)
|
||||
{
|
||||
if (Lock()) {
|
||||
|
||||
fPainter->SetHighColor(color);
|
||||
fPainter->SetDrawingMode(B_OP_COPY);
|
||||
fPainter->StrokeLine(start, end, B_SOLID_HIGH);
|
||||
|
||||
BRect r(start, end + BPoint(1.0, 1.0));
|
||||
fGraphicsCard->Invalidate(r);
|
||||
|
||||
Unlock();
|
||||
}
|
||||
DrawData d;
|
||||
d.highcolor = color;
|
||||
d.draw_mode = B_OP_COPY;
|
||||
StrokeLine(start, end, &d);
|
||||
}
|
||||
|
||||
// StrokeLine
|
||||
|
Loading…
x
Reference in New Issue
Block a user