Lines Matching refs:rect

74 DefaultDecorator::DefaultDecorator(DesktopSettings& settings, BRect rect,
77 TabDecorator(settings, rect, desktop)
84 rect.left, rect.top, rect.right, rect.bottom));
195 DefaultDecorator::_DrawFrame(BRect rect)
197 STRACE(("_DrawFrame(%f,%f,%f,%f)\n", rect.left, rect.top,
198 rect.right, rect.bottom));
220 if (rect.Intersects(fTopBorder)) {
244 if (rect.Intersects(fLeftBorder.InsetByCopy(0, -fBorderWidth))) {
257 if (rect.Intersects(fBottomBorder)) {
270 if (rect.Intersects(fRightBorder.InsetByCopy(0, -fBorderWidth))) {
289 if (rect.Intersects(fTopBorder)) {
313 if (rect.Intersects(fLeftBorder.InsetByCopy(0, -fBorderWidth))) {
336 if (rect.Intersects(fBottomBorder)) {
349 if (rect.Intersects(fRightBorder.InsetByCopy(0, -fBorderWidth))) {
391 if (rect.Intersects(border))
395 if (rect.Intersects(fResizeRect)) {
408 if (!rect.Intersects(BRect(
439 DefaultDecorator::_DrawResizeKnob(BRect rect, bool full,
442 float x = rect.right -= 3;
443 float y = rect.bottom -= 3;
446 gradient.SetStart(rect.LeftTop());
447 gradient.SetEnd(rect.RightBottom());
451 fDrawingEngine->FillRect(rect, gradient);
453 BPoint offset1(rect.Width(), rect.Height()),
454 offset2(rect.Width() - 1, rect.Height() - 1);
486 \param rect The area of the \a tab to update.
570 \param rect area of the title to update.
573 DefaultDecorator::_DrawTitle(Decorator::Tab* _tab, BRect rect)
575 STRACE(("_DrawTitle(%f,%f,%f,%f)\n", rect.left, rect.top, rect.right,
576 rect.bottom));
624 \param rect The area of the button to update.
627 DefaultDecorator::_DrawClose(Decorator::Tab* _tab, bool direct, BRect rect)
629 STRACE(("_DrawClose(%f,%f,%f,%f)\n", rect.left, rect.top, rect.right,
630 rect.bottom));
638 tab->closePressed, rect.IntegerWidth(), rect.IntegerHeight());
642 _DrawButtonBitmap(bitmap, direct, rect);
653 \param rect The area of the button to update.
656 DefaultDecorator::_DrawZoom(Decorator::Tab* _tab, bool direct, BRect rect)
658 STRACE(("_DrawZoom(%f,%f,%f,%f)\n", rect.left, rect.top, rect.right,
659 rect.bottom));
661 if (rect.IntegerWidth() < 1)
669 tab->zoomPressed, rect.IntegerWidth(), rect.IntegerHeight());
673 _DrawButtonBitmap(bitmap, direct, rect);
678 DefaultDecorator::_DrawMinimize(Decorator::Tab* tab, bool direct, BRect rect)
689 BRect rect)
698 fDrawingEngine->DrawBitmap(bitmap, rect.OffsetToCopy(0, 0), rect);
706 \param rect The rectangular area to draw in.
711 DefaultDecorator::_DrawBlendedRect(DrawingEngine* engine, const BRect rect,
725 BRect fillRect(rect.InsetByCopy(1.0f, 1.0f));
736 engine->StrokeRect(rect, tint_color(colors[COLOR_BUTTON], B_DARKEN_2_TINT));
787 BRect rect(0, 0, width - 1, height - 1);
794 _DrawBlendedRect(sBitmapDrawingEngine, rect, down, colors);
799 sBitmapDrawingEngine->FillRect(rect, B_TRANSPARENT_COLOR);
803 BRect zoomRect(rect);
809 zoomRect = rect;