RebuildAndForceRedraw() is not needed anymore
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11010 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ab26d7f837
commit
304feb8ad5
@ -471,21 +471,6 @@ ServerWindow* Layer::SearchForServerWindow()
|
|||||||
return fServerWin;
|
return fServerWin;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Layer::RebuildAndForceRedraw(const BRegion& reg, Layer *target)
|
|
||||||
{
|
|
||||||
STRACE(("Layer(%s)::RebuildAndForceRedraw():\n", GetName()));
|
|
||||||
BPoint pt(0,0);
|
|
||||||
|
|
||||||
StartRebuildRegions(reg, NULL, B_LAYER_NONE, pt);
|
|
||||||
|
|
||||||
if (target)
|
|
||||||
fRootLayer->fRedrawReg.Include(&(target->fFullVisible));
|
|
||||||
|
|
||||||
Redraw(fRootLayer->fRedrawReg);
|
|
||||||
|
|
||||||
EmptyGlobals();
|
|
||||||
}
|
|
||||||
|
|
||||||
void Layer::FullInvalidate(const BRect &rect)
|
void Layer::FullInvalidate(const BRect &rect)
|
||||||
{
|
{
|
||||||
FullInvalidate( BRegion(rect) );
|
FullInvalidate( BRegion(rect) );
|
||||||
|
Loading…
Reference in New Issue
Block a user