Introduce `ViewContext::on_window_should_close`

This is a new callback that can be used to interrupt closing the window
when the user has unsaved changes.
06033d7fa9Antonio Scandurra committed on 6/23/2022, 9:43:19 AMparentca8ddcd
4 files changedLine totals unavailable