Lines Matching refs:where

43 	virtual	void				MouseMoved(BPoint where, uint32 transit,
51 void ResetWindowFrame(BPoint where);
116 ToolTipView::MouseMoved(BPoint where, uint32 transit,
120 ResetWindowFrame(ConvertToScreen(where));
162 BPoint where;
163 GetMouse(&where, NULL, false);
165 ResetWindowFrame(ConvertToScreen(where));
175 ToolTipView::ResetWindowFrame(BPoint where)
191 if (size.width > where.x - screenFrame.left
192 && size.width > screenFrame.right - where.x) {
195 if (size.height > where.y - screenFrame.top
196 && where.y - screenFrame.top > screenFrame.Height() / 2) {
197 size.height = where.y - offset.y - screenFrame.top;
198 } else if (size.height > screenFrame.bottom - where.y
199 && screenFrame.bottom - where.y > screenFrame.Height() / 2) {
200 size.height = screenFrame.bottom - where.y - offset.y;
207 BPoint location = where;
243 // Adjust the tooltip position in cases where it would be partly out of the
251 location.y = where.y - size.height - offset.y;
269 location.y = where.y + offset.y;
281 where = location;
285 if (screenFrame.left > where.x) {
286 size.width -= where.x - screenFrame.left;
287 where.x = screenFrame.left;
288 } else if (screenFrame.right < where.x + size.width)
289 size.width = screenFrame.right - where.x;
291 if (screenFrame.top > where.y) {
292 size.height -= where.y - screenFrame.top;
293 where.y = screenFrame.top;
294 } else if (screenFrame.bottom < where.y + size.height)
295 size.height -= screenFrame.bottom - where.y;
300 Window()->MoveTo(where);
307 ToolTipWindow::ToolTipWindow(BToolTip* tip, BPoint where, void* owner)
309 BWindow(BRect(0, 0, 250, 10).OffsetBySelf(where), "tool tip",
326 view->ResetWindowFrame(where);
388 BToolTipManager::ShowTip(BToolTip* tip, BPoint where, void* owner)
410 BWindow* window = new BPrivate::ToolTipWindow(tip, where, owner);