Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- kTinyToolsFileExtension :: IsString a => a
- addTinyToolsFileExtensionIfNecessary :: FilePath -> FilePath
- data PotatoStyle = PotatoStyle {
- _potatoStyle_canvasCursor :: Attr
- _potatoStyle_makeCanvasManipulator :: RenderHandleColor -> Attr
- _potatoStyle_normal :: Attr
- _potatoStyle_selected :: Attr
- _potatoStyle_layers_softSelected :: Attr
- _potatoStyle_canvas_oob :: Attr
- _potatoStyle_textfield_normal :: Attr
- _potatoStyle_textfield_modifying :: Attr
- _potatoStyle_textfield_cursor :: Attr
- data PotatoConfig t = PotatoConfig {}
- class (Reflex t, Monad m) => HasPotato t m | m -> t where
- askPotato :: m (PotatoConfig t)
- newtype PotatoReader t m a = PotatoReader {
- unPotatoReader :: ReaderT (PotatoConfig t) m a
- runPotatoReader :: (Reflex t, Monad m) => PotatoReader t m a -> PotatoConfig t -> m a
Documentation
kTinyToolsFileExtension :: IsString a => a Source #
data PotatoStyle Source #
Instances
Default PotatoStyle Source # | |
Defined in Potato.Flow.Vty.PotatoReader def :: PotatoStyle # |
data PotatoConfig t Source #
Instances
Reflex t => Default (PotatoConfig t) Source # | |
Defined in Potato.Flow.Vty.PotatoReader def :: PotatoConfig t # |
class (Reflex t, Monad m) => HasPotato t m | m -> t where Source #
A class for things that can dynamically gain and lose focus
askPotato :: m (PotatoConfig t) Source #
Instances
newtype PotatoReader t m a Source #
A widget that has access to information about whether it is focused
PotatoReader | |
|
Instances
runPotatoReader :: (Reflex t, Monad m) => PotatoReader t m a -> PotatoConfig t -> m a Source #
Run a FocusReader
action with the given focus value
TODO flip arg order to match ReaderT oops...