| Copyright | (c) Eric Mertens 2016 |
|---|---|
| License | ISC |
| Maintainer | emertens@gmail.com |
| Safe Haskell | None |
| Language | Haskell2010 |
Client.Image.Layout
Description
Synopsis
- scrollAmount :: ClientState -> Int
- drawLayout :: ClientState -> (Int, Int, Int, Image)
Documentation
Arguments
| :: ClientState | client state |
| -> Int | scroll amount |
Compute the number of lines in a page at the current window size
Arguments
| :: ClientState | client state |
| -> (Int, Int, Int, Image) | overscroll, cursor pos, next offset, final image |
Compute the combined image for all the visible message windows.