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:
parent
f43d1e849d
commit
65369afd6d
@ -715,6 +715,21 @@ void ServerWindow::DispatchMessage(int32 code, LinkMsgReader &link)
|
||||
}
|
||||
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:
|
||||
{
|
||||
int32 token;
|
||||
|
Loading…
Reference in New Issue
Block a user