Home
last modified time | relevance | path

Searched refs:yNew (Results 1 – 1 of 1) sorted by relevance

/vim-8.2.3635/src/
H A Dgui_w32.c2351 int xNew, yNew; in CenterWindow() local
2388 yNew = rParent.top + ((hParent - hChild) / 2); in CenterWindow()
2389 if (yNew < rScreen.top) in CenterWindow()
2390 yNew = rScreen.top; in CenterWindow()
2391 else if ((yNew + hChild) > rScreen.bottom) in CenterWindow()
2392 yNew = rScreen.bottom - hChild; in CenterWindow()
2394 return SetWindowPos(hwndChild, NULL, xNew, yNew, 0, 0, in CenterWindow()