reflex-vty-0.2.0.0: Reflex FRP host and widgets for VTY applications

Safe HaskellNone
LanguageHaskell2010

Reflex.Vty.Widget.Box

Description

 
Synopsis

Documentation

hRule :: (HasDisplayRegion t m, HasImageWriter t m, HasTheme t m) => BoxStyle -> m () Source #

Fill the background with the bottom box style

data BoxStyle Source #

Defines a set of symbols to use to draw the outlines of boxes C.f. https://en.wikipedia.org/wiki/Box-drawing_character

Instances
Default BoxStyle Source # 
Instance details

Defined in Reflex.Vty.Widget.Box

Methods

def :: BoxStyle #

hyphenBoxStyle :: BoxStyle Source #

A box style that uses hyphens and pipe characters. Doesn't handle corners very well.

singleBoxStyle :: BoxStyle Source #

A single line box style

thickBoxStyle :: BoxStyle Source #

A thick single line box style

doubleBoxStyle :: BoxStyle Source #

A double line box style

roundedBoxStyle :: BoxStyle Source #

A single line box style with rounded corners

boxTitle :: (Monad m, Reflex t, HasDisplayRegion t m, HasImageWriter t m, HasInput t m, HasFocusReader t m, HasTheme t m) => Behavior t BoxStyle -> Behavior t Text -> m a -> m a Source #

Draws a titled box in the provided style and a child widget inside of that box

box :: (Monad m, Reflex t, HasDisplayRegion t m, HasImageWriter t m, HasInput t m, HasFocusReader t m, HasTheme t m) => Behavior t BoxStyle -> m a -> m a Source #

A box without a title

boxStatic :: (Monad m, Reflex t, HasDisplayRegion t m, HasImageWriter t m, HasInput t m, HasFocusReader t m, HasTheme t m) => BoxStyle -> m a -> m a Source #

A box whose style is static