More work for integrating the new clipping code.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13186 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adi Oanca
2005-06-16 18:58:14 +00:00
parent 5f8e562f04
commit 83265d84db
6 changed files with 47 additions and 13 deletions
+6
View File
@@ -140,7 +140,9 @@ WinBorder::WinBorder(const BRect &r,
fDecorator->GetSizeLimits(&fMinWidth, &fMinHeight, &fMaxWidth, &fMaxHeight);
}
#ifndef NEW_CLIPPING
RebuildFullRegion();
#endif
gDesktop->AddWinBorder(this);
@@ -283,6 +285,8 @@ y = (float)int32(y);
}
}
#ifndef NEW_CLIPPING
//! Rebuilds the WinBorder's "fully-visible" region based on info from the decorator
void
WinBorder::RebuildFullRegion()
@@ -296,6 +300,8 @@ WinBorder::RebuildFullRegion()
fDecorator->GetFootprint(&fFull);
}
#endif
//! Sets the minimum and maximum sizes of the window
void
WinBorder::SetSizeLimits(float minWidth, float maxWidth,