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:
@@ -39,6 +39,33 @@
|
|||||||
// Globals ---------------------------------------------------------------------
|
// 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
|
void
|
||||||
BRect::InsetBy(BPoint point)
|
BRect::InsetBy(BPoint point)
|
||||||
|
|||||||
Reference in New Issue
Block a user