Lines Matching refs:frame
23 AuthenticationPanel::AuthenticationPanel(BRect frame)
24 : Panel(frame, "Name Panel",
32 BRect controlFrame(0.0, 0.0, frame.Width(), 15.0);
126 BRect frame(fNameTC->Frame().LeftTop(), fOkB->Frame().RightBottom());
132 nameFrame.right = nameFrame.left + frame.Width();
133 passFrame.right = passFrame.left + frame.Width();
157 frame.InsetBy(-10.0, -10.0);
159 BBox* bg = new BBox(frame, "bg", B_FOLLOW_ALL,
170 frame.OffsetTo(-10000.0, -10000.0);
171 frame = _CalculateFrame(frame);
172 MoveTo(frame.LeftTop());
173 ResizeTo(frame.Width(), frame.Height());
222 AuthenticationPanel::_CalculateFrame(BRect frame)
226 if (!screenFrame.Contains(frame)) {
227 float width = frame.Width();
228 float height = frame.Height();
232 frame.left = center.x - width / 2.0;
233 frame.right = frame.left + width;
234 frame.top = center.y - height / 2.0;
235 frame.bottom = frame.top + height;
237 return frame;