twentefp-eventloop-graphics-0.1.0.3: Used as Lab Assignments Environment at Univeriteit Twente

Copyright(c) Sebastiaan la Fleur, 2014
LicenseBSD3
Maintainersebastiaan.la.fleur@gmail.com
Stabilityexperimental
PortabilityAll
Safe HaskellNone
LanguageHaskell98

EventLoop.Output.Single

Description

Makeshift server to output a single OutputEvent to the client. The function outSingle is the heart of this module.

Synopsis

Documentation

outSingle :: OutputEvent -> IO () Source

Outputs a single OutputEvent. Right now only Draw events are implemented. The server automatically determines the maximum Dimensions of the picture and sends a Setup containing those Dimensions.