Lines Matching defs:where
167 PadView::MouseDown(BPoint where)
175 if (!region.Contains(where))
180 if (child->Frame().Contains(where)) {
198 if (r.Contains(where)) {
199 DisplayMenu(where);
210 fDragOffset = ConvertToScreen(where) - window->Frame().LeftTop();
220 PadView::MouseUp(BPoint where)
235 PadView::MouseMoved(BPoint where, uint32 transit, const BMessage* dragMessage)
242 window->MoveTo(ConvertToScreen(where) - fDragOffset);
244 where = ConvertToScreen(where);
248 if (where.x == frame.left || where.x == frame.right
249 || where.y == frame.top || where.y == frame.bottom) {
254 if (where.y >= windowFrame.top
255 && where.y <= windowFrame.bottom) {
256 if (position.x < 0.5 && where.x == frame.left)
258 else if (position.x > 0.5 && where.x == frame.right)
263 if (where.x >= windowFrame.left && where.x <= windowFrame.right) {
264 if (position.y < 0.5 && where.y == frame.top)
266 else if (position.y > 0.5 && where.y == frame.bottom)
312 PadView::DisplayMenu(BPoint where, LaunchButton* button) const
322 if (nearestButton->Frame().top > where.y)
454 where = ConvertToScreen(where);
455 BRect mouseRect(where, where);
457 menu->Go(where, true, false, mouseRect, true);