* fill the view with it's high color, BPrintJob behaves now like on R5
fixes printing from e.g Scooby (missing header color) finally found the missing peace here: http://www.freelists.org/archives/haiku-development/06-2008/msg00086.html thanks Stephan :) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25909 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
8981fa5d54
commit
e8991ce3ac
@ -665,6 +665,14 @@ BPrintJob::_RecurseView(BView *view, BPoint origin, BPicture *picture,
|
||||
view->PushState();
|
||||
view->SetOrigin(origin);
|
||||
view->ConstrainClippingRegion(®ion);
|
||||
|
||||
if (view->ViewColor() != B_TRANSPARENT_COLOR) {
|
||||
rgb_color highColor = view->HighColor();
|
||||
view->SetHighColor(view->ViewColor());
|
||||
view->FillRect(rect);
|
||||
view->SetHighColor(highColor);
|
||||
}
|
||||
|
||||
view->Draw(rect);
|
||||
view->PopState();
|
||||
view->fIsPrinting = false;
|
||||
|
Loading…
Reference in New Issue
Block a user