Dawoodoz / DFPSR

Fast realtime softare rendering library for C++14 using SSE/AVX/NEON. 2D, 3D and isometric rendering with minimal system dependencies.
https://dawoodoz.com/dfpsr.html
83 stars 6 forks source link

Minor fixes #90

Closed Dawoodoz closed 1 year ago

Dawoodoz commented 1 year ago

Found an annoying bug in textboxes where deteting nothing inserted the command as a character when the condition for deleting was not met and the deleting keys were mistaken for printable. Should probably fix the printable classification as well, but this fixes the textbox.

Regular expressions for checking if something is a number forgot to check that all input was consumed before accepting, allowing garbage data after numbers.

Extended ranges for SafePointer, by using more intptr_t types.

Named arguments in some lambda functions.