Lines Matching defs:rect

856 BColumnListView::BColumnListView(BRect rect, const char* name,
860 BView(rect, name, resizingMode,
1438 BRect rect;
1443 rect = rect1 | rect2;
1445 fOutlineView->Invalidate(rect);
1635 BRect rect(GetFieldRect(row, inColumn));
1639 float baseline = floor(rect.top + fh.ascent
1640 + (rect.Height() + 1 - (fh.ascent + fh.descent)) / 2);
1641 return BPoint(rect.left + 8, baseline);
1648 BRect rect;
1649 GetRowRect(row, &rect);
1658 rect.left = leftEdge;
1659 rect.right = rect.left + column->Width();
1667 return rect;
1686 BColumnListView::DrawLatch(BView* view, BRect rect, LatchType position, BRow*)
1691 int32 sideLen = rect.IntegerWidth();
1692 if (sideLen > rect.IntegerHeight())
1693 sideLen = rect.IntegerHeight();
1696 int32 halfWidth = rect.IntegerWidth() / 2;
1697 int32 halfHeight = rect.IntegerHeight() / 2;
1700 float left = rect.left + halfWidth - halfSide;
1701 float top = rect.top + halfHeight - halfSide;
1945 BRect rect = Bounds();
1968 StrokeLine(BPoint(rect.left, rect.bottom),
1969 BPoint(rect.left, rect.top));
1970 StrokeLine(BPoint(rect.left + 1, rect.top),
1971 BPoint(rect.right, rect.top));
1974 be_control_look->DrawScrollViewFrame(this, rect, updateRect,
1979 rect = Bounds();
1980 BRegion region(rect & fStatusView->Frame().InsetByCopy(-2, -2));
1982 rect.bottom = fStatusView->Frame().top - 1;
1983 be_control_look->DrawScrollViewFrame(this, rect, updateRect,
2325 TitleView::TitleView(BRect rect, OutlineView* horizontalSlave,
2329 BView(rect, "title_view", resizingMode, B_WILL_DRAW | B_FRAME_EVENTS),
2334 fVisibleRect(rect.OffsetToCopy(0, 0)),
2666 TitleView::DrawTitle(BView* view, BRect rect, BColumn* column, bool depressed)
2669 drawRect = rect;
2677 BRect bgRect = rect;
2689 be_control_look->DrawButtonBackground(view, bgRect, rect, base, 0,
2694 view->StrokeLine(rect.RightTop(), rect.RightBottom());
3053 // Set up the invalid rect to include the rect for the previous
3054 // position of the drag rect, as well as the new one.
3193 OutlineView::OutlineView(BRect rect, BList* visibleColumns, BList* sortColumns,
3196 BView(rect, "outline_view", B_FOLLOW_ALL_SIDES,
3201 fVisibleRect(rect.OffsetToCopy(0, 0)),
3696 // the list in the background, the widget rect will be incorrect, possibly
4023 BRect rect;
4024 FindRect(fRollOverRow, &rect);
4025 Invalidate(rect);
4034 BRect rect;
4035 FindRect(fRollOverRow, &rect);
4036 rect.bottom -= 1.0;
4037 FillRect(rect);
4042 BRect rect;
4043 FindRect(fRollOverRow, &rect);
4044 Invalidate(rect);
4528 // beneath it down and invalidate just the new row rect.
4734 BRect rect;
4735 if (FindRect(row, &rect)) {
4737 if (rect.top < bounds.top)
4738 ScrollTo(BPoint(bounds.left, rect.top));
4739 else if (rect.bottom > bounds.bottom)
4740 ScrollBy(0, rect.bottom - bounds.bottom);
4881 // xxx Can make the invalidate area smaller by finding the rect for the
4882 // parent item and using that as the top of the invalid rect.
4888 // Fix focus rect.