| Copyright | (c) Eric Mertens 2016 |
|---|---|
| License | ISC |
| Maintainer | emertens@gmail.com |
| Safe Haskell | None |
| Language | Haskell2010 |
Client.Image
Description
This module provides the renderer for the client's UI.
- clientPicture :: ClientState -> (Picture, ClientState)
- scrollAmount :: ClientState -> Int
Documentation
clientPicture :: ClientState -> (Picture, ClientState) Source #
Generate a Picture for the current client state. The resulting
client state is updated for render specific information like scrolling.
Arguments
| :: ClientState | client state |
| -> Int | scroll amount |
Compute the number of lines in a page at the current window size