glirc-2.20.6: Console IRC client

Copyright(c) Eric Mertens 2016
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
LanguageHaskell2010

Client.Image

Description

This module provides the renderer for the client's UI.

Synopsis

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.

scrollAmount Source #

Arguments

:: ClientState

client state

-> Int

scroll amount

Compute the number of lines in a page at the current window size