Safe Haskell | None |
---|---|
Language | Haskell2010 |
Screen overlays.
- type AttrLine = [AttrCharW32]
- emptyAttrLine :: Int -> AttrLine
- textToAL :: Text -> AttrLine
- fgToAL :: Color -> Text -> AttrLine
- stringToAL :: String -> AttrLine
- (<+:>) :: AttrLine -> AttrLine -> AttrLine
- splitAttrLine :: X -> AttrLine -> [AttrLine]
- itemDesc :: FactionId -> FactionDict -> Int -> CStore -> Time -> ItemFull -> AttrLine
- glueLines :: [AttrLine] -> [AttrLine] -> [AttrLine]
- updateLines :: Int -> (AttrLine -> AttrLine) -> [AttrLine] -> [AttrLine]
- type Overlay = [(Int, AttrLine)]
- data ColorMode
- type FrameST s = Mutable Vector s Word32 -> ST s ()
- newtype FrameForall = FrameForall {
- unFrameForall :: forall s. FrameST s
- writeLine :: Int -> AttrLine -> FrameForall
AttrLine
type AttrLine = [AttrCharW32] Source #
emptyAttrLine :: Int -> AttrLine Source #
stringToAL :: String -> AttrLine Source #
splitAttrLine :: X -> AttrLine -> [AttrLine] Source #
Split a string into lines. Avoids ending the line with a character other than whitespace or punctuation. Space characters are removed from the start, but never from the end of lines. Newlines are respected.
Overlay
Misc
Color mode for the display.
newtype FrameForall Source #
FrameForall | |
|