hbro-1.3.0.0: Minimal extensible web-browser

Safe HaskellNone
LanguageHaskell98

Hbro.Gui.MainView

Synopsis

Documentation

data Axis

Constructors

Horizontal 
Vertical 

Instances

data Position

Instances

data Scrolled

Constructors

Scrolled 

Instances

render :: (MonadReader r m, Has MainView r, MonadIO m, MonadLogger m) => Text -> URI -> m ()

zoomIn :: (MonadIO m, Functor m, MonadReader r m, Has MainView r) => m ()

zoomOut :: (MonadIO m, Functor m, MonadReader r m, Has MainView r) => m ()

scrollH :: (MonadIO m, Functor m, MonadLogger m, MonadReader r m, Has MainView r) => Position -> m ()

Shortcut to scroll horizontally or vertically.

scrollV :: (MonadIO m, Functor m, MonadLogger m, MonadReader r m, Has MainView r) => Position -> m ()

Shortcut to scroll horizontally or vertically.