Lines Matching refs:screen
146 BRect screen = BScreen(window).Frame();
148 screen.InsetBy(4, 8);
149 screen.OffsetBy(0, 8);
154 if (screen.Width() < width && !(flags & B_NOT_H_RESIZABLE))
155 width = screen.Width();
156 if (screen.Height() < height && !(flags & B_NOT_V_RESIZABLE))
157 height = screen.Height();
164 if (frame.right > screen.right)
165 window->MoveBy(screen.right-frame.right, 0);
166 if (frame.bottom > screen.bottom)
167 window->MoveBy(0, screen.bottom-frame.bottom);
168 if (frame.left < screen.left)
169 window->MoveTo(screen.left, frame.top);
170 if (frame.top < screen.top)
171 window->MoveBy(0, screen.top-frame.top);