Lines Matching refs:rect

65 FlatDecorAddOn::_AllocateDecorator(DesktopSettings& settings, BRect rect,
68 return new (std::nothrow)FlatDecorator(settings, rect, desktop);
92 FlatDecorator::FlatDecorator(DesktopSettings& settings, BRect rect,
95 TabDecorator(settings, rect, desktop)
102 rect.left, rect.top, rect.right, rect.bottom));
272 FlatDecorator::_DrawFrame(BRect rect)
274 STRACE(("_DrawFrame(%f,%f,%f,%f)\n", rect.left, rect.top,
275 rect.right, rect.bottom));
294 if (rect.Intersects(fLeftBorder.InsetByCopy(0, -fBorderWidth))) {
308 if (rect.Intersects(fBottomBorder)) {
319 if (rect.Intersects(fRightBorder.InsetByCopy(0, -fBorderWidth))) {
334 if (rect.Intersects(fTopBorder)) {
358 if (rect.Intersects(fTopBorder)) {
377 if (rect.Intersects(fLeftBorder.InsetByCopy(0, -fBorderWidth))) {
397 if (rect.Intersects(fBottomBorder)) {
408 if (rect.Intersects(fRightBorder.InsetByCopy(0, -fBorderWidth))) {
446 if (!rect.Intersects(r))
486 if (!rect.Intersects(BRect(fRightBorder.right - kBorderResizeLength,
532 \param rect The area of the \a tab to update.
636 \param rect area of the title to update.
639 FlatDecorator::_DrawTitle(Decorator::Tab* _tab, BRect rect)
641 STRACE(("_DrawTitle(%f,%f,%f,%f)\n", rect.left, rect.top, rect.right,
642 rect.bottom));
690 \param rect The area of the button to update.
693 FlatDecorator::_DrawClose(Decorator::Tab* _tab, bool direct, BRect rect)
695 STRACE(("_DrawClose(%f,%f,%f,%f)\n", rect.left, rect.top, rect.right,
696 rect.bottom));
704 tab->closePressed, rect.IntegerWidth(), rect.IntegerHeight());
708 _DrawButtonBitmap(bitmap, direct, rect);
719 \param rect The area of the button to update.
722 FlatDecorator::_DrawZoom(Decorator::Tab* _tab, bool direct, BRect rect)
724 STRACE(("_DrawZoom(%f,%f,%f,%f)\n", rect.left, rect.top, rect.right,
725 rect.bottom));
727 if (rect.IntegerWidth() < 1)
735 tab->zoomPressed, rect.IntegerWidth(), rect.IntegerHeight());
739 _DrawButtonBitmap(bitmap, direct, rect);
744 FlatDecorator::_DrawMinimize(Decorator::Tab* tab, bool direct, BRect rect)
755 BRect rect)
764 fDrawingEngine->DrawBitmap(bitmap, rect.OffsetToCopy(0, 0), rect);
772 \param rect The rectangular area to draw in.
777 FlatDecorator::_DrawBlendedRect(DrawingEngine* engine, const BRect rect,
780 engine->FillRect(rect, B_TRANSPARENT_COLOR);
793 BRect fillRect(rect.InsetByCopy(1.0f, 1.0f));
804 engine->StrokeRect(rect, tint_color(colors[COLOR_BUTTON], 1.25));
856 BRect rect(0, 0, width - 1, height - 1);
864 _DrawBlendedRect(sBitmapDrawingEngine, rect, down, colors);
866 _DrawBlendedRect(sBitmapDrawingEngine, rect, true, colors);
871 sBitmapDrawingEngine->FillRect(rect, B_TRANSPARENT_COLOR);
875 BRect zoomRect(rect);
884 zoomRect = rect;