Added a few missing BRect functions

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6204 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
haydentech 2004-01-20 21:52:32 +00:00
parent 134d607647
commit 0835465264

View File

@ -39,6 +39,33 @@
// Globals ---------------------------------------------------------------------
void
BRect::SetLeftTop(const BPoint p)
{
left = p.x;
top = p.y;
}
//------------------------------------------------------------------------------
void
BRect::SetRightBottom(const BPoint p)
{
right = p.x;
bottom = p.y;
}
//------------------------------------------------------------------------------
void
BRect::SetLeftBottom(const BPoint p)
{
left = p.x;
bottom = p.y;
}
//------------------------------------------------------------------------------
void
BRect::SetRightTop(const BPoint p)
{
right = p.x;
top = p.y;
}
//------------------------------------------------------------------------------
void
BRect::InsetBy(BPoint point)