Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- hRule :: (HasDisplayRegion t m, HasImageWriter t m, HasTheme t m) => BoxStyle -> m ()
- data BoxStyle = BoxStyle {
- _boxStyle_nw :: Char
- _boxStyle_n :: Char
- _boxStyle_ne :: Char
- _boxStyle_e :: Char
- _boxStyle_se :: Char
- _boxStyle_s :: Char
- _boxStyle_sw :: Char
- _boxStyle_w :: Char
- hyphenBoxStyle :: BoxStyle
- singleBoxStyle :: BoxStyle
- thickBoxStyle :: BoxStyle
- doubleBoxStyle :: BoxStyle
- roundedBoxStyle :: BoxStyle
- 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
- 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
- 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
Documentation
hRule :: (HasDisplayRegion t m, HasImageWriter t m, HasTheme t m) => BoxStyle -> m () Source #
Fill the background with the bottom box style
Defines a set of symbols to use to draw the outlines of boxes C.f. https://en.wikipedia.org/wiki/Box-drawing_character
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