Lines Matching refs:frame
104 BRect frame = scrn.Frame();
105 frame.InsetBy(10, 23);
106 // if the point is outside of the screen frame,
108 if (!frame.Contains(wndpt)) {
114 if (wndpt.x < frame.left)
115 wndpt.x = frame.left;
116 if (wndpt.y < frame.top)
117 wndpt.y = frame.top;
118 if (wndpt.x > frame.right)
119 wndpt.x = frame.right;
120 if (wndpt.y > frame.bottom)
121 wndpt.y = frame.bottom;