moving and resizing windows works with the new clipping code. scrolling BViews also works.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13311 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -413,7 +413,7 @@ ServerWindow::_DispatchMessage(int32 code, BPrivate::LinkReceiver &link)
|
||||
|
||||
link.Read<float>(&dh);
|
||||
link.Read<float>(&dv);
|
||||
|
||||
#ifndef NEW_CLIPPING
|
||||
// scroll visually by using the CopyBits() implementation
|
||||
// this will also take care of invalidating previously invisible
|
||||
// areas (areas scrolled into view)
|
||||
@@ -436,7 +436,9 @@ ServerWindow::_DispatchMessage(int32 code, BPrivate::LinkReceiver &link)
|
||||
fCurrentLayer->fLayerData->OffsetOrigin(BPoint(dh, dv));
|
||||
|
||||
_CopyBits(myRootLayer, fCurrentLayer, src, dst, xOffset, yOffset);
|
||||
|
||||
#else
|
||||
fCurrentLayer->ScrollBy(dh, dv);
|
||||
#endif
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user