Lines Matching defs:rect
120 OpenToolTipWindow(BScreen& screen, BRect rect, const char* name,
126 rect.top = floorf(rect.top + (rect.Height() - height) / 2.0f);
127 rect.bottom = rect.top + height;
129 rect.right = rect.left + ceilf(be_plain_font->StringWidth(string)) + 4;
130 if (rect.left < 0)
131 rect.OffsetBy(-rect.left, 0);
132 else if (rect.right > screen.Frame().right)
133 rect.OffsetBy(screen.Frame().right - rect.right, 0);
135 BWindow* window = new BWindow(rect, name, B_BORDERED_WINDOW_LOOK,
596 BRect rect = ConvertToScreen(fPathRect);
600 fPathWindow = OpenToolTipWindow(screen, rect,
613 BRect rect = ConvertToScreen(fLinkRect);
617 fLinkWindow = OpenToolTipWindow(screen, rect,
626 BRect rect = ConvertToScreen(fDescRect);
630 fDescWindow = OpenToolTipWindow(screen, rect,
684 // Are we in the link rect?