Lines Matching refs:rct
2918 RECT rct; in gui_mch_getmouse() local
2921 (void)GetWindowRect(s_textArea, &rct); in gui_mch_getmouse()
2923 *x = (int)(mp.x - rct.left); in gui_mch_getmouse()
2924 *y = (int)(mp.y - rct.top); in gui_mch_getmouse()
2933 RECT rct; in gui_mch_setmouse() local
2935 (void)GetWindowRect(s_textArea, &rct); in gui_mch_setmouse()
2936 (void)SetCursorPos(x + gui.border_offset + rct.left, in gui_mch_setmouse()
2937 y + gui.border_offset + rct.top); in gui_mch_setmouse()
4886 RECT rct; in _WndProc() local
4890 GetWindowRect(s_textArea, &rct); in _WndProc()
4891 if (yPos < rct.top) in _WndProc()
6676 RECT rct; in rebuild_tearoff() local
6684 && GetWindowRect(s_hwnd, &rct) in rebuild_tearoff()
6687 x = trect.left - rct.left; in rebuild_tearoff()
6688 y = (trect.top - rct.bottom + roct.bottom); in rebuild_tearoff()