Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- consumeSDLWindowEvents :: forall aw us. (Participant aw us, Mesg aw us ~ WindowMessage) => aw -> [EventPayload] -> Affection us [EventPayload]
Documentation
consumeSDLWindowEvents Source #
:: (Participant aw us, Mesg aw us ~ WindowMessage) | |
=> aw | The message system participant |
-> [EventPayload] | Incoming events |
-> Affection us [EventPayload] | Leftover SDL events |
Helper function that consumes all Window-related EventPayload
s
and emits appropriate WindowMessage
s.