Lines Matching refs:frame

45 	const char* const kFrameField = "BMenuField:layoutItem:frame";
60 virtual void SetFrame(BRect frame);
88 virtual void SetFrame(BRect frame);
136 BMenuField::BMenuField(BRect frame, const char* name, const char* label,
139 BView(frame, name, resize, flags)
143 TRACE("frame.width: %.2f, height: %.2f\n", frame.Width(), frame.Height());
147 frame.OffsetTo(B_ORIGIN);
148 _InitMenuBar(menu, frame, false);
154 BMenuField::BMenuField(BRect frame, const char* name, const char* label,
157 BView(frame, name, resize, flags)
163 frame.OffsetTo(B_ORIGIN);
164 _InitMenuBar(menu, frame, fixedSize);
363 BRect frame(fMenuBar->Frame());
366 frame.InsetBy(-kVMargin, -kVMargin);
374 be_control_look->DrawMenuFieldFrame(this, frame, update, base,
379 if (frame.InsetByCopy(-kVMargin, -kVMargin).Intersects(update)) {
381 StrokeLine(BPoint(frame.left - 1.0f, frame.top - 1.0f),
382 BPoint(frame.left - 1.0f, frame.bottom - 1.0f));
383 StrokeLine(BPoint(frame.left - 1.0f, frame.top - 1.0f),
384 BPoint(frame.right - 1.0f, frame.top - 1.0f));
386 StrokeLine(BPoint(frame.left + 1.0f, frame.bottom + 1.0f),
387 BPoint(frame.right + 1.0f, frame.bottom + 1.0f));
388 StrokeLine(BPoint(frame.right + 1.0f, frame.top + 1.0f));
391 StrokeLine(BPoint(frame.left - 1.0f, frame.bottom),
392 BPoint(frame.left - 1.0f, frame.bottom));
393 StrokeLine(BPoint(frame.right, frame.top - 1.0f),
394 BPoint(frame.right, frame.top - 1.0f));
400 StrokeRect(frame.InsetByCopy(-kVMargin, -kVMargin));
1000 TRACE("frame(%.1f, %.1f, %.1f, %.1f) (%.2f, %.2f)\n",
1114 // update our frame
1130 BMenuField::_InitMenuBar(BMenu* menu, BRect frame, bool fixedSize)
1140 frame.left = _MenuBarOffset();
1141 frame.top = kVMargin;
1142 frame.right -= kVMargin;
1143 frame.bottom -= kVMargin;
1145 TRACE("frame(%.1f, %.1f, %.1f, %.1f) (%.2f, %.2f)\n",
1146 frame.left, frame.top, frame.right, frame.bottom,
1147 frame.Width(), frame.Height());
1149 fMenuBar = new _BMCMenuBar_(frame, fixedSize, this);
1230 // parent's frame width or window's frame width. So at least the returned
1312 BMenuField::LabelLayoutItem::SetFrame(BRect frame)
1314 fFrame = frame;
1435 BMenuField::MenuBarLayoutItem::SetFrame(BRect frame)
1437 fFrame = frame;