Lines Matching defs:frame
66 const char* const kFrameField = "BMenuField:layoutItem:frame";
86 virtual void SetFrame(BRect frame);
119 virtual void SetFrame(BRect frame);
203 BMenuField::BMenuField(BRect frame, const char* name, const char* label,
206 BView(frame, name, resizingMode, flags)
210 TRACE("frame.width: %.2f, height: %.2f\n", frame.Width(), frame.Height());
214 frame.OffsetTo(B_ORIGIN);
215 _InitMenuBar(menu, frame, false);
221 BMenuField::BMenuField(BRect frame, const char* name, const char* label,
224 BView(frame, name, resizingMode, flags)
230 frame.OffsetTo(B_ORIGIN);
231 _InitMenuBar(menu, frame, fixedSize);
1038 TRACE("frame(%.1f, %.1f, %.1f, %.1f) (%.2f, %.2f)\n",
1184 // update our frame
1199 BMenuField::_InitMenuBar(BMenu* menu, BRect frame, bool fixedSize)
1206 frame.left = _MenuBarOffset();
1207 frame.top = kVMargin;
1208 frame.right -= kVMargin;
1209 frame.bottom -= kVMargin;
1211 TRACE("frame(%.1f, %.1f, %.1f, %.1f) (%.2f, %.2f)\n",
1212 frame.left, frame.top, frame.right, frame.bottom,
1213 frame.Width(), frame.Height());
1215 fMenuBar = new _BMCMenuBar_(frame, fixedSize, this);
1357 // parent's frame width or window's frame width. So at least the returned
1447 BMenuField::LabelLayoutItem::SetFrame(BRect frame)
1449 fFrame = frame;
1579 BMenuField::MenuBarLayoutItem::SetFrame(BRect frame)
1581 fFrame = frame;