Lines Matching refs:pt

2452     POINT	    pt;  in show_tabline_popup_menu()  local
2474 GetCursorPos(&pt); in show_tabline_popup_menu()
2475 rval = TrackPopupMenuEx(tab_pmenu, TPM_RETURNCMD, pt.x, pt.y, s_tabhwnd, in show_tabline_popup_menu()
2486 if (ScreenToClient(s_tabhwnd, &pt) == 0) in show_tabline_popup_menu()
2489 htinfo.pt.x = pt.x; in show_tabline_popup_menu()
2490 htinfo.pt.y = pt.y; in show_tabline_popup_menu()
2999 POINT pt = {x, y}; in is_point_onscreen() local
3001 return MonitorFromPoint(pt, MONITOR_DEFAULTTONULL) != NULL; in is_point_onscreen()
3719 POINT pt; in _OnDropFiles() local
3725 DragQueryPoint(hDrop, &pt); in _OnDropFiles()
3726 MapWindowPoints(s_hwnd, s_textArea, &pt, 1); in _OnDropFiles()
3755 gui_handle_drop(pt.x, pt.y, modifiers, fnames, cFiles); in _OnDropFiles()
4611 POINT pt; in _WndProc() local
4617 GetCursorPos((LPPOINT)&pt); in _WndProc()
4619 if (pt.y < rect.top) in _WndProc()
4634 POINT pt; in _WndProc() local
4637 GetCursorPos((LPPOINT)&pt); in _WndProc()
4639 if (pt.y < rect.top) in _WndProc()
4728 POINT pt; in _WndProc() local
4735 GetCursorPos(&pt); in _WndProc()
4736 if (ScreenToClient(s_tabhwnd, &pt) != 0) in _WndProc()
4744 htinfo.pt.x = pt.x; in _WndProc()
4745 htinfo.pt.y = pt.y; in _WndProc()
8086 POINT pt) in GetTabFromPoint() argument
8093 htinfo.pt = pt; in GetTabFromPoint()
8115 POINT pt; in tabline_wndproc() local
8138 pt.x = GET_X_LPARAM(lParam); in tabline_wndproc()
8139 pt.y = s_pt.y; in tabline_wndproc()
8140 if (abs(pt.x - s_pt.x) > GetSystemMetrics(SM_CXDRAG)) in tabline_wndproc()
8144 tp = GetTabFromPoint(hwnd, pt); in tabline_wndproc()
8155 if ((idx0 < idx1) && (nCenter < pt.x)) in tabline_wndproc()
8160 else if ((idx1 < idx0) && (pt.x < nCenter)) in tabline_wndproc()
8508 make_tooltip(BalloonEval *beval, char *text, POINT pt) in make_tooltip() argument
8556 pti->rect.left = pt.x - 3; in make_tooltip()
8557 pti->rect.top = pt.y - 3; in make_tooltip()
8558 pti->rect.right = pt.x + 3; in make_tooltip()
8559 pti->rect.bottom = pt.y + 3; in make_tooltip()
8590 POINT pt; in BevalTimerProc() local
8596 GetCursorPos(&pt); in BevalTimerProc()
8597 if (WindowFromPoint(pt) != s_textArea) in BevalTimerProc()
8600 ScreenToClient(s_textArea, &pt); in BevalTimerProc()
8602 if (!PtInRect(&rect, pt)) in BevalTimerProc()
8608 || abs(cur_beval->x - pt.x) > 3 in BevalTimerProc()
8609 || abs(cur_beval->y - pt.y) > 3)) in BevalTimerProc()
8614 cur_beval->x = pt.x; in BevalTimerProc()
8615 cur_beval->y = pt.y; in BevalTimerProc()
8646 POINT pt; in gui_mch_post_balloon() local
8660 GetCursorPos(&pt); in gui_mch_post_balloon()
8661 ScreenToClient(s_textArea, &pt); in gui_mch_post_balloon()
8663 if (abs(beval->x - pt.x) < 3 && abs(beval->y - pt.y) < 3) in gui_mch_post_balloon()
8668 make_tooltip(beval, (char *)mesg, pt); in gui_mch_post_balloon()