You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the @vlang project I need a config that keeps sokol windows at a fixed size (no resizing).
I tried calling sapp_consume_event() in the callback method until I found out it's not implemented on Desktop platforms.
My attempts to implement it in sokol failed, so it would be very nice if you could do it.
The text was updated successfully, but these errors were encountered:
I think the best way to implement this is via a config flag in sapp_desc, and then when creating the window omit the platform-specific "resizable flag" (in case you want to hack this yourself for now).
Later it might make sense to add more such flags (e.g. for removing window chrome).
floooh
changed the title
sokol_app.h: sapp_consume_event() for Linux, Windows and macOS
sokol_app.h: initialize window with resizing disabled
Sep 22, 2020
For the @vlang project I need a config that keeps sokol windows at a fixed size (no resizing).
I tried calling
sapp_consume_event()
in the callback method until I found out it's not implemented on Desktop platforms.My attempts to implement it in sokol failed, so it would be very nice if you could do it.
The text was updated successfully, but these errors were encountered: