Removed the BSize(const BRect&) constructor and added BRect::Size()

instead. Also added a BRect(BPoint, BSize) constructor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21120 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2007-05-12 16:50:16 +00:00
parent 7f4c0ffe9c
commit a19a660a78
6 changed files with 30 additions and 17 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ BCardLayout::LayoutView()
{
_ValidateMinMax();
BSize size = BSize(View()->Bounds());
BSize size = View()->Bounds().Size();
size.width = max_c(size.width, fMin.width);
size.height = max_c(size.height, fMin.height);