Lines Matching refs:tabRect

493 	const BRect& tabRect = tab->tabRect;
496 if (!tabRect.IsValid() || !invalid.Intersects(tabRect))
503 fDrawingEngine->StrokeLine(tabRect.LeftTop(), tabRect.LeftBottom(),
505 fDrawingEngine->StrokeLine(tabRect.LeftTop(), tabRect.RightTop(),
508 fDrawingEngine->StrokeLine(tabRect.RightTop(), tabRect.RightBottom(),
511 fDrawingEngine->StrokeLine(tabRect.LeftBottom(),
512 tabRect.RightBottom(), colors[COLOR_TAB_FRAME_DARK]);
515 float tabBotton = tabRect.bottom;
520 fDrawingEngine->StrokeLine(BPoint(tabRect.left + 1, tabRect.top + 1),
521 BPoint(tabRect.left + 1,
524 fDrawingEngine->StrokeLine(BPoint(tabRect.left + 1, tabRect.top + 1),
525 BPoint(tabRect.right - (tab->look == kLeftTitledWindowLook ? 0 : 1),
526 tabRect.top + 1),
530 fDrawingEngine->StrokeLine(BPoint(tabRect.right - 1, tabRect.top + 2),
531 BPoint(tabRect.right - 1, tabBotton),
535 BPoint(tabRect.left + 2, tabRect.bottom - 1),
536 BPoint(tabRect.right, tabRect.bottom - 1),
542 gradient.SetStart(tabRect.LeftTop());
547 gradient.SetEnd(tabRect.LeftBottom());
548 fDrawingEngine->FillRect(BRect(tabRect.left + 2, tabRect.top + 2,
549 tabRect.right - 2, tabBotton), gradient);
551 gradient.SetEnd(tabRect.RightTop());
552 fDrawingEngine->FillRect(BRect(tabRect.left + 2, tabRect.top + 2,
553 tabRect.right, tabRect.bottom - 2), gradient);
556 _DrawTitle(tab, tabRect);
580 const BRect& tabRect = tab->tabRect;
598 : tabRect.left + tab->textOffset;
599 titlePos.y = floorf(((tabRect.top + 2.0) + tabRect.bottom
603 titlePos.x = floorf(((tabRect.left + 2.0) + tabRect.right
607 : tabRect.bottom - tab->textOffset;