MCPcopy Create free account
hub / github.com/ConfettiFX/The-Forge / wndValidateClientRectSize

Function wndValidateClientRectSize

Common_3/OS/WindowSystem/WindowSystem.cpp:202–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202static bool wndValidateClientRectSize(int32_t width, int32_t height)
203{
204 if ((abs(getRectWidth(&pWindowRef->clientRect) - width) > 1) || (abs(getRectHeight(&pWindowRef->clientRect) - height) > 1))
205 return false;
206 return true;
207}
208
209static void wndUpdateResolutionsList(void* pWindowResWidget)
210{

Callers 1

wndMoveWindowFunction · 0.85

Calls 2

getRectWidthFunction · 0.85
getRectHeightFunction · 0.85

Tested by

no test coverage detected