summaryrefslogtreecommitdiff
path: root/2d/mouse.scm
Commit message (Collapse)AuthorAgeFilesLines
* Add mouse move/press/click hooks.David Thompson2014-01-091-3/+20
| | | | | * 2d/mouse.scm (mouse-move-hook, mouse-press-hook) (mouse-click-hook): New hooks.
* Update mouse module to use new signal API.David Thompson2013-12-151-14/+19
| | | | | * 2d/mouse.scm (mouse-x, mouse-y): New signals. (mouse-position): Define in terms of signal-map.
* Make init a non-keyword argument in make-signal procedure.David Thompson2013-12-121-1/+1
| | | | | | | * 2d/signals.scm (make-signal): Change parameter list. * 2d/mouse.scm (mouse-position): Remove #:init keyword. * 2d/time.scm (time-interval, time-delay): Remove #:init keyword. * 2d/window.scm (window-size): Remove #:init keyword.
* Move event handlers and signals into their own modules.David Thompson2013-12-011-0/+63
* 2d/game.scm (register-event-handler): New procedure. (mouse-*, key-*, window-*): Remove signals. * 2d/window.scm (window-size): New signal. * 2d/mouse.scm: New module. * 2d/keyboard.scm: New module.