| 191 | #if defined(WINDOW_UI_ENABLED) |
| 192 | |
| 193 | static 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 | |
| 202 | static bool wndValidateClientRectSize(int32_t width, int32_t height) |
| 203 | { |