Lines Matching refs:rect

46 MacDecorAddOn::_AllocateDecorator(DesktopSettings& settings, BRect rect,
49 return new (std::nothrow)MacDecorator(settings, rect, desktop);
214 // calculate our tab rect
498 BRect rect(tab->tabRect);
500 fDrawingEngine->FillRect(rect, fFrameMidColor);
503 fDrawingEngine->StrokeLine(rect.LeftTop(), rect.RightTop(),
505 fDrawingEngine->StrokeLine(rect.LeftTop(), rect.LeftBottom(),
507 fDrawingEngine->StrokeLine(rect.RightBottom(), rect.RightTop(),
510 rect.InsetBy(1, 1);
511 rect.bottom++;
513 fDrawingEngine->StrokeLine(rect.LeftTop(), rect.RightTop(),
515 fDrawingEngine->StrokeLine(rect.LeftTop(), rect.LeftBottom(),
517 fDrawingEngine->StrokeLine(rect.RightBottom(), rect.RightTop(),
594 _DrawButtons(tab, rect);
599 fDrawingEngine->StrokeLine(rect.LeftTop(), rect.RightTop(),
601 fDrawingEngine->StrokeLine(rect.LeftTop(), rect.LeftBottom(),
603 fDrawingEngine->StrokeLine(rect.RightBottom(), rect.RightTop(),
630 MacDecorator::_DrawTitle(Decorator::Tab* tab, BRect rect)
656 MacDecorator::_DrawZoom(Decorator::Tab* tab, bool direct, BRect rect)
658 _DrawButton(tab, direct, rect, tab->zoomPressed);
660 rect.top++;
661 rect.left++;
662 rect.bottom = rect.top + 6;
663 rect.right = rect.left + 6;
666 fDrawingEngine->StrokeRect(rect, fDrawState.HighColor());
671 MacDecorator::_DrawMinimize(Decorator::Tab* tab, bool direct, BRect rect)
673 _DrawButton(tab, direct, rect, tab->minimizePressed);
675 rect.InsetBy(1, 5);
678 fDrawingEngine->StrokeRect(rect, fDrawState.HighColor());
689 BRect rect = TabRect(tab);
696 rect = rect | TabRect(tab);
698 rect.bottom++;
701 updateRegion->Include(rect);
869 BRect rect(r);
894 rect.InsetBy(1, 1);
896 fDrawingEngine->StrokeRect(rect);
899 rect.InsetBy(1, 1);
901 fDrawingEngine->StrokeLine(rect.RightBottom(), rect.RightTop());
902 fDrawingEngine->StrokeLine(rect.RightBottom(), rect.LeftBottom());
904 fDrawingEngine->StrokeLine(rect.LeftBottom(), rect.LeftTop());
905 fDrawingEngine->StrokeLine(rect.LeftTop(), rect.RightTop());
907 fDrawingEngine->StrokeLine(rect.LeftTop(), rect.LeftTop());
909 rect.InsetBy(1, 1);
910 _DrawBlendedRect(fDrawingEngine, rect, !down);
918 MacDecorator::_DrawBlendedRect(DrawingEngine* engine, BRect rect,
933 gradient.SetStart(rect.LeftTop());
934 gradient.SetEnd(rect.RightBottom());
938 engine->FillRect(rect, gradient);