events: Add quit event.
authorDavid Thompson <dthompson2@worcester.edu>
Mon, 21 Dec 2015 16:40:38 +0000 (11:40 -0500)
committerDavid Thompson <dthompson2@worcester.edu>
Mon, 21 Dec 2015 16:40:38 +0000 (11:40 -0500)
commit3bac7c76c894fd39721c16d5005dbc7d23fda8d6
treeeea460deb6431953cd5b949a2c0b1b41441b3723
parent3c0cdecfbc1cfe11415271ee08210307ef42ecf8
events: Add quit event.

* sdl2/events.scm (<quit-event>): New record type.
(make-quit-event, quit-event?, quit-event-timestamp, parse-quit-event):
New procedures.
(poll-event): Add support for SDL_QUIT events.
sdl2/events.scm