Commit Graph
3 Commits
Author SHA1 Message Date
meehl 4b344d15ae Refactor mouse and keyboard input handling 2026-08-29 16:12:45 +02:00
meehl c297eeaca6 Improve ergonomics of calling Lua callbacks 2026-08-29 11:28:30 +02:00
meehl cc6de120f2 Refactor context handling and redraw requests
Remove unsafe pointer shenanigans and give Lua instance ownership over
`Context`. Event handlers now directly mutate Context instead of using a
shared app state which is then hooked up to Context via unsafe pointers.
The removal of a shared state means stages (previously called "modes")
are now responsible for keeping their own internal state.

Additionally, clean up draw request handling and module hierarchy.
2026-08-23 23:55:43 +02:00