| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Affection.Subsystems.AffectionWindow
Synopsis
- consumeSDLWindowEvents :: forall aw us. (Participant aw us, Mesg aw us ~ WindowMessage) => aw -> [EventPayload] -> Affection us [EventPayload]
Documentation
consumeSDLWindowEvents Source #
Arguments
| :: (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 EventPayloads
and emits appropriate WindowMessages.