Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/xserver/hw/xwin/
H A Dwinwin32rootlesswindow.c219 RECT rcNew; in winMWExtWMUpdateWindowDecoration() local
229 SetRect(&rcNew, in winMWExtWMUpdateWindowDecoration()
237 rcNew.left, rcNew.top, rcNew.right, rcNew.bottom, in winMWExtWMUpdateWindowDecoration()
238 rcNew.right - rcNew.left, rcNew.bottom - rcNew.top); in winMWExtWMUpdateWindowDecoration()
241 AdjustWindowRectEx(&rcNew, in winMWExtWMUpdateWindowDecoration()
247 rcNew.left, rcNew.top, rcNew.right, rcNew.bottom, in winMWExtWMUpdateWindowDecoration()
248 rcNew.right - rcNew.left, rcNew.bottom - rcNew.top); in winMWExtWMUpdateWindowDecoration()
251 iDx = pRLWinPriv->pFrame->x - rcNew.left; in winMWExtWMUpdateWindowDecoration()
252 iDy = pRLWinPriv->pFrame->y - rcNew.top; in winMWExtWMUpdateWindowDecoration()
255 rcNew.left += iDx; in winMWExtWMUpdateWindowDecoration()
[all …]
H A Dwinwin32rootless.c412 RECT rcNew; in winMWExtWMMoveFrame() local
435 SetRect(&rcNew, iX, iY, iX + iWidth, iY + iHeight); in winMWExtWMMoveFrame()
439 rcNew.left, rcNew.top, rcNew.right, rcNew.bottom, in winMWExtWMMoveFrame()
440 rcNew.right - rcNew.left, rcNew.bottom - rcNew.top); in winMWExtWMMoveFrame()
446 AdjustWindowRectEx(&rcNew, dwStyle, FALSE, dwExStyle); in winMWExtWMMoveFrame()
450 rcNew.left, rcNew.top, rcNew.right, rcNew.bottom, in winMWExtWMMoveFrame()
451 rcNew.right - rcNew.left, rcNew.bottom - rcNew.top); in winMWExtWMMoveFrame()
454 SetWindowPos(pRLWinPriv->hWnd, NULL, rcNew.left, rcNew.top, 0, 0, in winMWExtWMMoveFrame()
469 RECT rcNew; in winMWExtWMResizeFrame() local
491 SetRect(&rcNew, iX, iY, iX + uiNewWidth, iY + uiNewHeight); in winMWExtWMResizeFrame()
[all …]
H A Dwinwindowswm.c310 RECT rcNew; in ProcWindowsWMFrameGetRect() local
330 SetRect(&rcNew, stuff->ix, stuff->iy, in ProcWindowsWMFrameGetRect()
342 AdjustWindowRectEx(&rcNew, stuff->frame_style, FALSE, in ProcWindowsWMFrameGetRect()
344 rep.x = rcNew.left; in ProcWindowsWMFrameGetRect()
345 rep.y = rcNew.top; in ProcWindowsWMFrameGetRect()
346 rep.w = rcNew.right - rcNew.left; in ProcWindowsWMFrameGetRect()
347 rep.h = rcNew.bottom - rcNew.top; in ProcWindowsWMFrameGetRect()
363 RECT rcNew; in ProcWindowsWMFrameDraw() local
392 SetRect(&rcNew, stuff->ix, stuff->iy, in ProcWindowsWMFrameDraw()
399 AdjustWindowRectEx(&rcNew, stuff->frame_style, FALSE, in ProcWindowsWMFrameDraw()
[all …]
H A Dwinmultiwindowwindow.c177 RECT rcNew; in winPositionWindowMultiWindow() local
220 SetRect(&rcNew, iX, iY, iX + iWidth, iY + iHeight); in winPositionWindowMultiWindow()
223 lpRc = &rcNew; in winPositionWindowMultiWindow()
232 AdjustWindowRectEx(&rcNew, dwStyle, FALSE, dwExStyle); in winPositionWindowMultiWindow()
241 lpRc = &rcNew; in winPositionWindowMultiWindow()
255 if (!EqualRect(&rcNew, &rcOld)) { in winPositionWindowMultiWindow()
261 ErrorF("\tMoveWindow to (%d, %d) - %dx%d\n", (int)rcNew.left, (int)rcNew.top, in winPositionWindowMultiWindow()
262 (int)(rcNew.right - rcNew.left), (int)(rcNew.bottom - rcNew.top)); in winPositionWindowMultiWindow()
266 rcNew.left, rcNew.top, in winPositionWindowMultiWindow()
267 rcNew.right - rcNew.left, rcNew.bottom - rcNew.top, TRUE); in winPositionWindowMultiWindow()
H A Dwinmultiwindowwm.c1895 RECT rcNew; in winUpdateWindowPosition() local
1914 SetRect(&rcNew, iX, iY, iX + iWidth, iY + iHeight); in winUpdateWindowPosition()
1917 rcNew.left, rcNew.top, rcNew.right, rcNew.bottom); in winUpdateWindowPosition()
1919 AdjustWindowRectEx(&rcNew, GetWindowLongPtr(hWnd, GWL_STYLE), FALSE, in winUpdateWindowPosition()
1923 if (rcNew.left < GetSystemMetrics(SM_XVIRTUALSCREEN)) { in winUpdateWindowPosition()
1924 iDx = GetSystemMetrics(SM_XVIRTUALSCREEN) - rcNew.left; in winUpdateWindowPosition()
1925 rcNew.left += iDx; in winUpdateWindowPosition()
1926 rcNew.right += iDx; in winUpdateWindowPosition()
1929 if (rcNew.top < GetSystemMetrics(SM_YVIRTUALSCREEN)) { in winUpdateWindowPosition()
1930 iDy = GetSystemMetrics(SM_YVIRTUALSCREEN) - rcNew.top; in winUpdateWindowPosition()
[all …]