Lines Matching defs:frame
405 saveMsg.AddRect("window frame", Frame());
421 BRect frame;
422 if (loadMessage.FindRect("window frame", &frame) == B_OK) {
423 // ensure the frame does not resize below the computed minimum.
424 float width = max_c(Bounds().right, frame.right - frame.left);
425 float height = max_c(Bounds().bottom, frame.bottom - frame.top);
428 // ensure the frame is not placed outside of the screen.
430 float left = min_c(screen.Frame().right - width, frame.left);
431 float top = min_c(screen.Frame().bottom - height, frame.top);