Lines Matching defs:rect

438 	BRect rect(0, 0,
441 fWindow = new TSwitcherWindow(rect, this);
1449 BRect rect = fIconView->Bounds();
1450 if (rect.left > (fManager->SlotSize() * fManager->CenterSlot())) {
1463 if (lastFrame.right > rect.right) {
1475 rect = fIconView->Frame();
1478 pt1.x = rect.left - 5;
1479 pt1.y = floorf((rect.bottom + rect.top) / 2);
1494 pt1.x = rect.right + 4;
1495 pt1.y = rintf((rect.bottom + rect.top) / 2);
1531 BRect rect = fWindow->WindowView()->Bounds();
1532 if (rect.top != 0) {
1548 if (maxIndex >= 0 && lastFrame.bottom > rect.bottom) {
1560 rect = fWindow->WindowView()->Frame();
1561 rect.InsetBy(-3, 0);
1566 pt1.x = rect.left - 6;
1567 pt1.y = rect.top + 3;
1573 pt1.x += rect.Width() + 12;
1574 pt2.x += rect.Width() + 12;
1575 pt3.x += rect.Width() + 12;
1578 FillRect(BRect(rect.left - 10, rect.top + 3, rect.left - 2,
1579 rect.top + 7), B_SOLID_LOW);
1580 FillRect(BRect(rect.right + 2, rect.top + 3, rect.right + 10,
1581 rect.top + 7), B_SOLID_LOW);
1588 pt1.x = rect.left - 6;
1589 pt1.y = rect.bottom - 3;
1595 pt1.x += rect.Width() + 12;
1596 pt2.x += rect.Width() + 12;
1597 pt3.x += rect.Width() + 12;
1600 FillRect(BRect(rect.left - 10, rect.bottom - 7, rect.left - 2,
1601 rect.bottom - 3), B_SOLID_LOW);
1602 FillRect(BRect(rect.right + 2, rect.bottom - 7, rect.right + 10,
1603 rect.bottom - 3), B_SOLID_LOW);
1622 BRect rect = frame;
1623 rect.OffsetTo(B_ORIGIN);
1624 rect.InsetBy(kHorizontalMargin, 0);
1625 rect.top = kVerticalMargin;
1626 rect.bottom = rect.top + fManager->SlotSize() + 1;
1628 fIconView = new TIconView(rect, manager, this);
1630 rect.top = rect.bottom + (kVerticalMargin * 1 + 4);
1631 rect.InsetBy(9, 0);
1633 fWindowView = new TWindowView(rect, manager, this);
1914 BRect rect = startRect;
1920 // center start rect in center rect
1921 off = roundf((centerRect.Width() - rect.Width()) / 2);
1923 rect.OffsetTo(off, off);
1925 // center end rect in center rect
1929 // scroll center rect to the draw slot
1932 // scroll dest rect to draw slow
1936 // center dest rect in center rect
1947 rect.InsetBy(inset, inset);
1952 fOffView->DrawBitmap(start, rect);
1967 rect.InsetBy(inset, inset);
1972 fOffView->DrawBitmap(end, rect);
2039 BRect rect = FrameOf(index);
2040 ScrollTo(rect.left - (fManager->CenterSlot() * fManager->SlotSize()), 0);
2072 BRect rect = FrameOf(index);
2074 return (int32)(rect.left / fManager->SlotSize()) - fManager->CenterSlot();
2108 BRect rect(fManager->CenterSlot() * fManager->SlotSize(), 0,
2114 if (rect.Intersects(update) && group != NULL) {
2118 group->Draw(this, rect, !fAutoScrolling && (i == mainIndex));
2122 rect.OffsetBy(fManager->SlotSize(), 0);
2186 TWindowView::TWindowView(BRect rect, TSwitchManager* manager,
2188 : BView(rect, "wlist_view", B_FOLLOW_NONE, B_WILL_DRAW | B_PULSE_NEEDED),