Lines Matching defs:frame
126 WorkspacesView(BRect frame, bool showDragger);
167 virtual void ScreenChanged(BRect frame, color_space mode);
241 // we now also store the frame of the screen to know
242 // in which context the window frame has been chosen
243 BRect frame;
244 if (file.Read(&frame, sizeof(BRect)) == sizeof(BRect))
245 fScreenFrame = frame;
255 // if the current screen frame is different from the one
256 // just loaded, we need to alter the window frame accordingly
288 // don't change the position if the screen frame hasn't changed
317 WorkspacesSettings::SetWindowFrame(BRect frame)
319 fWindowFrame = frame;
326 WorkspacesView::WorkspacesView(BRect frame, bool showDragger = true)
328 BView(frame, kDeskbarItemName, B_FOLLOW_ALL,
331 fCurrentFrame(frame),
337 frame.OffsetTo(B_ORIGIN);
338 frame.top = frame.bottom - 7;
339 frame.left = frame.right - 7;
340 BDragger* dragger = new BDragger(frame, this,
595 // Stretch frame to also accept mouse moves over the window borders
729 BRect tabFrame = windowSettings.FindRect("tab frame");
736 // No settings, compute a reasonable default frame.
766 BRect frame = fSettings->ScreenFrame();
767 frame.OffsetBy(-2.0 * borderWidth, -2.0 * borderWidth);
768 frame.left = frame.right - width;
769 frame.top = frame.bottom - height;
770 ResizeTo(frame.Width(), frame.Height());
773 MoveTo(screenWidth - frame.Width() - borderWidth,
774 screenHeight - frame.Height() - borderWidth);
776 fSettings->SetWindowFrame(frame);