DefaultDecorator: updateRect not update
This commit is contained in:
parent
78a987cc9b
commit
719b56b055
|
@ -166,17 +166,17 @@ DefaultDecorator::GetSettings(BMessage* settings) const
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
DefaultDecorator::Draw(BRect update)
|
DefaultDecorator::Draw(BRect updateRect)
|
||||||
{
|
{
|
||||||
STRACE(("DefaultDecorator: Draw(%.1f,%.1f,%.1f,%.1f)\n",
|
STRACE(("DefaultDecorator: Draw(%.1f,%.1f,%.1f,%.1f)\n",
|
||||||
update.left, update.top, update.right, update.bottom));
|
updateRect.left, updateRect.top, updateRect.right, updateRect.bottom));
|
||||||
|
|
||||||
// We need to draw a few things: the tab, the resize knob, the borders,
|
// We need to draw a few things: the tab, the resize knob, the borders,
|
||||||
// and the buttons
|
// and the buttons
|
||||||
fDrawingEngine->SetDrawState(&fDrawState);
|
fDrawingEngine->SetDrawState(&fDrawState);
|
||||||
|
|
||||||
_DrawFrame(update);
|
_DrawFrame(updateRect);
|
||||||
_DrawTabs(update);
|
_DrawTabs(updateRect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue