| 383 | } |
| 384 | |
| 385 | void wndMoveWindow(void* pUserData) |
| 386 | { |
| 387 | WindowDesc* pWindow = pWindowRef; |
| 388 | int32_t expectedClientWidth = pWindowRef->mWndW; |
| 389 | int32_t expectedClientHeight = pWindowRef->mWndH; |
| 390 | int32_t expectedClientX = pWindowRef->mWndX; |
| 391 | int32_t expectedClientY = pWindowRef->mWndY; |
| 392 | |
| 393 | if (pWindow->mWindowMode == WM_FULLSCREEN) |
| 394 | { |
| 395 | setWindowed(pWindow); |
| 396 | } |
| 397 | wndUpdateResolutionsList(pUserData); |
| 398 | RectDesc rectDesc{ pWindowRef->mWndX, pWindowRef->mWndY, pWindowRef->mWndX + pWindowRef->mWndW, pWindowRef->mWndY + pWindowRef->mWndH }; |
| 399 | setWindowClientRect(pWindow, &rectDesc); |
| 400 | LOGF(LogLevel::eINFO, "MoveWindow() Position check: %s", |
| 401 | wndValidateClientRectPos(expectedClientX, expectedClientY) ? "SUCCESS" : "FAIL"); |
| 402 | LOGF(LogLevel::eINFO, "MoveWindow() Size check: %s", |
| 403 | wndValidateClientRectSize(expectedClientWidth, expectedClientHeight) ? "SUCCESS" : "FAIL"); |
| 404 | } |
| 405 | |
| 406 | void wndSetRecommendedWindowSize(void* pUserData) |
| 407 | { |
nothing calls this directly
no test coverage detected