diff --git a/src/kits/interface/Rect.cpp b/src/kits/interface/Rect.cpp index 63f6a1522e..9b645cc176 100644 --- a/src/kits/interface/Rect.cpp +++ b/src/kits/interface/Rect.cpp @@ -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)