* maybe I fixed the sometimes weird decorator buttons, I have not spotted them again with this change

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21922 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2007-08-13 09:27:18 +00:00
parent a2d6475360
commit ea6280b6d5
+2
View File
@@ -432,6 +432,7 @@ DefaultDecorator::Draw(BRect update)
// We need to draw a few things: the tab, the resize thumb, the borders,
// and the buttons
fDrawingEngine->SetDrawState(&fDrawState);
_DrawFrame(update);
_DrawTab(update);
@@ -443,6 +444,7 @@ DefaultDecorator::Draw()
{
// Easy way to draw everything - no worries about drawing only certain
// things
fDrawingEngine->SetDrawState(&fDrawState);
_DrawFrame(BRect(fTopBorder.LeftTop(), fBottomBorder.RightBottom()));
_DrawTab(fTabRect);