Lines Matching defs:frame

307 BWindow::BWindow(BRect frame, const char* title, window_type type,
316 _InitData(frame, title, look, feel, flags, workspace);
320 BWindow::BWindow(BRect frame, const char* title, window_look look,
325 _InitData(frame, title, look, feel, flags, workspace);
381 BWindow::BWindow(BRect frame, int32 bitmapToken)
386 _InitData(frame, "offscreen", fLook, fFeel, 0, 0, bitmapToken);
757 // read the frame size and its limits that were really
913 BRect frame;
914 if (settings.FindRect("tab frame", &frame) == B_OK) {
915 replyMsg.AddRect("result", frame);
1112 BRect frame;
1114 if (message->FindRect("frame", &frame) == B_OK
1118 ScreenChanged(frame, (color_space)mode);
1398 // the server side (the window frame could have
1992 settings.FindRect("tab frame", &tabRect);
2420 // stay in minimum & maximum frame limits
2506 BRect frame = Frame();
2512 frame.InsetBy(-borderWidth, -borderWidth);
2513 frame.top -= tabHeight;
2517 if (frame.Width() > screenFrame.Width())
2518 frame.right -= frame.Width() - screenFrame.Width();
2519 if (frame.Height() > screenFrame.Height())
2520 frame.bottom -= frame.Height() - screenFrame.Height();
2522 BRect innerFrame = frame;
2529 && !screenFrame.Contains(frame))
2530 || !frame.Intersects(screenFrame)) {
2538 float left = frame.left;
2541 else if (frame.right > screenFrame.right)
2542 left = std::max(0.f, screenFrame.right - frame.Width());
2544 float top = frame.top;
2547 else if (frame.bottom > screenFrame.bottom)
2548 top = std::max(0.f, screenFrame.bottom - frame.Height());
2550 if (top != frame.top || left != frame.left)
2721 BWindow::_InitData(BRect frame, const char* title, window_look look,
2732 frame.left = roundf(frame.left);
2733 frame.top = roundf(frame.top);
2734 frame.right = roundf(frame.right);
2735 frame.bottom = roundf(frame.bottom);
2737 fFrame = frame;
2868 // read the frame size and its limits that were really
3143 BRect frame = fFrame.OffsetToCopy(B_ORIGIN);
3145 fTopView = new BView(frame, "fTopView", B_FOLLOW_ALL, B_WILL_DRAW);
3168 This method has to be called whenever the frame of the window
3823 in \a frame and vertically 3/4 from the top of \a frame.
3829 \param frame The \a frame to center the window in.
3834 BWindow::AlertPosition(const BRect& frame)
3839 BPoint point(frame.left + (frame.Width() / 2.0f) - (width / 2.0f),
3840 frame.top + (frame.Height() / 4.0f) - ceil(height / 3.0f));
3843 if (frame == screenFrame) {
3844 // reference frame is screen frame, skip the below adjustments
3859 float tabPosition = frame.LeftTop().y + tabHeight + borderWidth;
4060 if (settings.FindRect("tab frame", &tabRect) == B_OK)