Implement AS_LAYER_COPY_BITS.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12066 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2005-03-27 05:25:59 +00:00
parent f43d1e849d
commit 65369afd6d

View File

@ -715,6 +715,21 @@ void ServerWindow::DispatchMessage(int32 code, LinkMsgReader &link)
} }
break; break;
} }
case AS_LAYER_COPY_BITS:
{
BRect src;
BRect dest;
link.Read<BRect>(&src);
link.Read<BRect>(&dest);
src = cl->ConvertToTop(src);
dest = cl->ConvertToTop(dest);
cl->fDriver->CopyBits(src, dest, cl->fLayerData);
break;
}
case AS_SET_CURRENT_LAYER: case AS_SET_CURRENT_LAYER:
{ {
int32 token; int32 token;