drawing arrow heads looks good on Haiku using B_OP_OVER... Stefano, I made this local change before your earlier commit, I hope I don't step on your toes, it's just a tiny change anyways...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15659 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2005-12-22 22:15:06 +00:00
parent 6700022a75
commit 268893283f
1 changed files with 2 additions and 2 deletions

View File

@ -156,16 +156,16 @@ TOffscreenView::DrawX()
hours -= 12; hours -= 12;
hours *= 5; hours *= 5;
hours += (fMinutes / 12); hours += (fMinutes / 12);
StrokeLine(BPoint(fOffset, fOffset), fHourPoints[hours]);
SetDrawingMode(B_OP_OVER); SetDrawingMode(B_OP_OVER);
StrokeLine(BPoint(fOffset, fOffset), fHourPoints[hours]);
if (fCenter != NULL) if (fCenter != NULL)
DrawBitmap(fCenter, BPoint(fOffset - 3, fOffset - 3)); DrawBitmap(fCenter, BPoint(fOffset - 3, fOffset - 3));
SetDrawingMode(B_OP_COPY);
StrokeLine(BPoint(fOffset, fOffset), fMinutePoints[fMinutes]); StrokeLine(BPoint(fOffset, fOffset), fMinutePoints[fMinutes]);
SetHighColor(180, 180, 180); SetHighColor(180, 180, 180);
if (fShowSeconds) if (fShowSeconds)
StrokeLine(BPoint(fOffset, fOffset), fMinutePoints[fSeconds]); StrokeLine(BPoint(fOffset, fOffset), fMinutePoints[fSeconds]);
SetDrawingMode(B_OP_COPY);
if (fInner != NULL) if (fInner != NULL)
DrawBitmap(fInner, BPoint(fOffset - 1, fOffset - 1)); DrawBitmap(fInner, BPoint(fOffset - 1, fOffset - 1));
Sync(); Sync();