Safe Haskell | None |
---|
Display game data on the screen and receive user input using one of the available raw frontends and derived operations.
- frontendName :: String
- startupF :: DebugModeCli -> IO () -> IO ()
- type ChanFrontend = TQueue KM
- data FrontReq
- = FrontFrame { }
- | FrontKey {
- frontKM :: ![KM]
- frontFr :: !SingleFrame
- | FrontSlides {
- frontClear :: ![KM]
- frontSlides :: ![SingleFrame]
- | FrontFinish
- data ConnMulti = ConnMulti {}
- connMulti :: ConnMulti
Re-exported part of the raw frontend
The name of the chosen frontend.
Derived operation
startupF :: DebugModeCli -> IO () -> IO ()Source
Connection channels
type ChanFrontend = TQueue KMSource
FrontFrame | show a frame, if the fid acitve, or save it to the client's queue |
FrontKey | flush frames, possibly show fadeout/fadein and ask for a keypress |
| |
FrontSlides | show a whole slideshow without interleaving with other clients |
| |
FrontFinish | exit frontend loop |
Multiplex connection channels, for the case of a frontend shared among clients. This is transparent to the clients themselves.