Lines Matching defs:where
55 Desktop::MouseDown(BPoint where, uint32 buttons, int32 clicks)
57 fLastMousePos = where;
58 fClickedWindow = WindowAt(where);
64 fScrollingView = fClickedWindow->ViewAt(where);
72 fResizing = resizeRect.Contains(where);
87 Desktop::MouseUp(BPoint where)
100 Desktop::MouseMoved(BPoint where, uint32 code, const BMessage* dragMessage)
103 if (!fTracking && fFocusFollowsMouse && (window = WindowAt(where))) {
107 int32 dx = (int32)(where.x - fLastMousePos.x);
108 int32 dy = (int32)(where.y - fLastMousePos.y);
109 fLastMousePos = where;
129 fDrawingEngine->StrokeLine(fLastMousePos, where, (rgb_color){ 0, 0, 0, 255 });
130 fLastMousePos = where;
140 BPoint where;
143 if (message->FindPoint("where", &where) >= B_OK &&
147 where.x += fXOffset;
148 where.y += fYOffset;
150 MouseDown(where, buttons, clicks);
155 BPoint where;
156 if (message->FindPoint("where", &where) >= B_OK) {
158 where.x += fXOffset;
159 where.y += fYOffset;
161 MouseUp(where);
167 BPoint where;
169 if (message->FindPoint("where", &where) >= B_OK &&
172 where.x += fXOffset;
173 where.y += fYOffset;
175 MouseMoved(where, transit, NULL);
316 Desktop::WindowAt(const BPoint& where) const
323 if (!window->IsHidden() && window->VisibleRegion().Contains(where))