flaw-ui-0.1.0.0

LicenseMIT
Safe HaskellNone
LanguageHaskell2010

Flaw.UI.Drawer

Description

 
Synopsis

Documentation

data Drawer d Source #

Drawer data.

Constructors

Drawer 

Fields

initDrawer :: Canvas d -> GlyphRenderer d -> DrawerStyles d -> STM (Drawer d) Source #

Create drawer.

setDrawerFrameTime :: Drawer d -> Float -> STM () Source #

Update drawer with time passed.

data DrawerStyles d Source #

Style information.

Constructors

DrawerStyles 

Fields

data SomeFontShaper where Source #

Constructors

SomeFontShaper :: FontShaper s => !s -> SomeFontShaper