Searched refs:wndpt (Results 1 - 1 of 1) sorted by relevance

/haiku/src/add-ons/translators/shared/
H A DTranslatorWindow.cpp101 BPoint wndpt = B_ORIGIN; local
108 if (!frame.Contains(wndpt)) {
110 view->GetMouse(&wndpt, &dummy, false);
111 wndpt.x -= rect.Width() / 2;
112 wndpt.y -= rect.Height() / 2;
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
[all...]

Completed in 86 milliseconds