Lines Matching refs:frame
83 BRect frame(fPopupWindow->Frame()); in ShowPopup() local
97 frame.OffsetTo(leftLocation); in ShowPopup()
101 if (frame.Width() > dest.Width()) in ShowPopup()
102 frame.right = frame.left + dest.Width(); in ShowPopup()
103 if (frame.Height() > dest.Height()) in ShowPopup()
104 frame.bottom = frame.top + dest.Height(); in ShowPopup()
108 if (frame.bottom > dest.bottom) in ShowPopup()
109 vOffset = dest.bottom - frame.bottom; in ShowPopup()
110 if (frame.top < dest.top) in ShowPopup()
111 vOffset = dest.top - frame.top; in ShowPopup()
112 if (frame.right > dest.right) in ShowPopup()
113 hOffset = dest.right - frame.right; in ShowPopup()
114 if (frame.left < dest.left) in ShowPopup()
115 hOffset = dest.left - frame.left; in ShowPopup()
117 frame.OffsetBy(hOffset, vOffset); in ShowPopup()
122 fPopupWindow->MoveTo(frame.LeftTop()); in ShowPopup()
123 fPopupWindow->ResizeTo(frame.Width(), frame.Height()); in ShowPopup()