Open medvednikov opened 3 months ago
Yes if the code isn't too gnarly. Probably best to look at glfwSetWindowSizeLimits() (although tbh, the GLFW code isn't too straightforward at first glance for X11 and Win32).
I'm not sure if it's better to have fixed limits provided in sapp_desc
, or a function sapp_set_window_size_limits()
, or both.
I added min_width
and min_height
to sapp_desc
.
Sounds good!
Quite a useful feature, would be nice to have it upstream.