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

Function wndValidateClientRectPos

Common_3/OS/WindowSystem/WindowSystem.cpp:193–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191#if defined(WINDOW_UI_ENABLED)
192
193static bool wndValidateClientRectPos(int32_t x, int32_t y)
194{
195 WindowDesc* winDesc = pWindowRef;
196 if ((abs(x - winDesc->clientRect.left) > 1) || (abs(y - winDesc->clientRect.top) > 1))
197 return false;
198
199 return true;
200}
201
202static bool wndValidateClientRectSize(int32_t width, int32_t height)
203{

Callers 1

wndMoveWindowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected