Lines Matching refs:frame

26 WorkspacesView::WorkspacesView(BRect frame, BPoint scrollingOffset,
29 View(frame, scrollingOffset, name, token, resizeMode, flags),
74 /*! \brief Returns the frame of the screen for the specified workspace.
83 /*! \brief Returns the frame of the specified workspace within the
92 BRect frame = Bounds();
93 LocalToScreenTransform().Apply(&frame);
95 int32 width = frame.IntegerWidth() / columns;
96 int32 height = frame.IntegerHeight() / rows;
104 rect.OffsetBy(frame.LeftTop());
108 rect.right = frame.right;
110 rect.bottom = frame.bottom;
116 /*! \brief Returns the workspace frame and index of the workspace
144 BRect frame = windowFrame;
145 frame.OffsetTo(windowPosition);
149 frame.left = frame.left * factor;
150 frame.right = frame.right * factor;
153 frame.top = frame.top * factor;
154 frame.bottom = frame.bottom * factor;
158 frame.OffsetTo(rintf(frame.left + workspaceFrame.left),
159 rintf(frame.top + workspaceFrame.top));
160 frame.right = rintf(frame.right);
161 frame.bottom = rintf(frame.bottom);
163 return frame;
176 BRect frame = _WindowFrame(workspaceFrame, screenFrame, window->Frame(),
185 if (!workspaceFrame.Intersects(frame)
219 if (tabFrame.left < frame.left) {
221 tabFrame.left = frame.left;
224 if (tabFrame.right > frame.right) {
226 tabFrame.right = frame.right;
233 tabFrame.bottom = frame.top - 1;
245 drawingEngine->StrokeRect(frame, frameColor);
247 BRect fillFrame = frame.InsetByCopy(1, 1) & workspaceFrame;
248 frame = frame & workspaceFrame;
249 if (!frame.IsValid())
269 if (title.Length() > 0 && height < frame.Height() - 2) {
277 textOffset.x = rintf(frame.left + (frame.Width() - width) / 2);
278 textOffset.y = rintf(frame.top + (frame.Height() - height) / 2
284 backgroundRegion.Exclude(frame);
297 // draw active frame
358 BRect frame = Bounds();
359 LocalToScreenTransform().Apply(&frame);
361 BRegion region(frame), expose;
387 BRect frame = Bounds();
388 LocalToScreenTransform().Apply(&frame);
392 drawingEngine->StrokeLine(BPoint(frame.left, frame.top),
393 BPoint(frame.right, frame.top), ViewColor());
397 drawingEngine->StrokeLine(BPoint(frame.left, rect.bottom),
398 BPoint(frame.right, rect.bottom), ViewColor());
403 drawingEngine->StrokeLine(BPoint(frame.left, frame.top),
404 BPoint(frame.left, frame.bottom), ViewColor());
408 drawingEngine->StrokeLine(BPoint(rect.right, frame.top),
409 BPoint(rect.right, frame.bottom), ViewColor());
454 BRect frame = _WindowFrame(workspaceFrame, screenFrame, window->Frame(),
456 if (frame.Contains(where) && window->Feel() != kDesktopWindowFeel
459 windowFrame = frame;
515 // We need to hide the selection frame again