Copyright | (c) 2018 Francisco Vallarino |
---|---|
License | BSD-3-Clause (see the LICENSE file) |
Maintainer | fjvallarino@gmail.com |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Lenses for the Main types.
Documentation
class HasDisposeEvent s a | s -> a where Source #
disposeEvent :: Lens' s a Source #
Instances
HasDisposeEvent (AppConfig e) [e] Source # | |
Defined in Monomer.Main.Lens disposeEvent :: Lens' (AppConfig e) [e] Source # |
class HasExitEvent s a | s -> a where Source #
Instances
HasExitEvent (AppConfig e) [e] Source # | |
class HasInitEvent s a | s -> a where Source #
Instances
HasInitEvent (AppConfig e) [e] Source # | |
class HasInvertWheelX s a | s -> a where Source #
invertWheelX :: Lens' s a Source #
Instances
HasInvertWheelX (AppConfig e) (Maybe Bool) Source # | |
Defined in Monomer.Main.Lens |
class HasInvertWheelY s a | s -> a where Source #
invertWheelY :: Lens' s a Source #
Instances
HasInvertWheelY (AppConfig e) (Maybe Bool) Source # | |
Defined in Monomer.Main.Lens |
class HasResizeEvent s a | s -> a where Source #
resizeEvent :: Lens' s a Source #
Instances
HasResizeEvent (AppConfig e) [Rect -> e] Source # | |
Defined in Monomer.Main.Lens |
class HasScaleFactor s a | s -> a where Source #
scaleFactor :: Lens' s a Source #
Instances
HasScaleFactor (AppConfig e) (Maybe Double) Source # | |
Defined in Monomer.Main.Lens |
class HasUseRenderThread s a | s -> a where Source #
useRenderThread :: Lens' s a Source #
Instances
HasUseRenderThread (AppConfig e) (Maybe Bool) Source # | |
Defined in Monomer.Main.Lens |
class HasWindowBorder s a | s -> a where Source #
windowBorder :: Lens' s a Source #
Instances
HasWindowBorder (AppConfig e) (Maybe Bool) Source # | |
Defined in Monomer.Main.Lens |
class HasWindowResizable s a | s -> a where Source #
windowResizable :: Lens' s a Source #
Instances
HasWindowResizable (AppConfig e) (Maybe Bool) Source # | |
Defined in Monomer.Main.Lens |
class HasWindowState s a | s -> a where Source #
windowState :: Lens' s a Source #
Instances
HasWindowState (AppConfig e) (Maybe MainWindowState) Source # | |
Defined in Monomer.Main.Lens windowState :: Lens' (AppConfig e) (Maybe MainWindowState) Source # |
class HasWindowTitle s a | s -> a where Source #
windowTitle :: Lens' s a Source #
Instances
HasWindowTitle (AppConfig e) (Maybe Text) Source # | |
Defined in Monomer.Main.Lens |
class HasCursorIcons s a | s -> a where Source #
cursorIcons :: Lens' s a Source #
Instances
HasCursorIcons (MonomerCtx s e) (Map CursorIcon Cursor) Source # | |
Defined in Monomer.Main.Lens cursorIcons :: Lens' (MonomerCtx s e) (Map CursorIcon Cursor) Source # |
class HasCursorStack s a | s -> a where Source #
cursorStack :: Lens' s a Source #
Instances
HasCursorStack (MonomerCtx s e) [(WidgetId, CursorIcon)] Source # | |
Defined in Monomer.Main.Lens cursorStack :: Lens' (MonomerCtx s e) [(WidgetId, CursorIcon)] Source # |
class HasDragAction s a | s -> a where Source #
dragAction :: Lens' s a Source #
Instances
HasDragAction (MonomerCtx s e) (Maybe DragAction) Source # | |
Defined in Monomer.Main.Lens dragAction :: Lens' (MonomerCtx s e) (Maybe DragAction) Source # |
class HasEpr s a | s -> a where Source #
Instances
HasEpr (MonomerCtx s e) Double Source # | |
Defined in Monomer.Main.Lens |
class HasExitApplication s a | s -> a where Source #
exitApplication :: Lens' s a Source #
Instances
HasExitApplication (MonomerCtx s e) Bool Source # | |
Defined in Monomer.Main.Lens exitApplication :: Lens' (MonomerCtx s e) Bool Source # |
class HasFocusedWidgetId s a | s -> a where Source #
focusedWidgetId :: Lens' s a Source #
Instances
HasFocusedWidgetId (MonomerCtx s e) WidgetId Source # | |
Defined in Monomer.Main.Lens focusedWidgetId :: Lens' (MonomerCtx s e) WidgetId Source # |
class HasHoveredWidgetId s a | s -> a where Source #
hoveredWidgetId :: Lens' s a Source #
Instances
HasHoveredWidgetId (MonomerCtx s e) (Maybe WidgetId) Source # | |
Defined in Monomer.Main.Lens hoveredWidgetId :: Lens' (MonomerCtx s e) (Maybe WidgetId) Source # |
class HasLeaveEnterPair s a | s -> a where Source #
leaveEnterPair :: Lens' s a Source #
Instances
HasLeaveEnterPair (MonomerCtx s e) Bool Source # | |
Defined in Monomer.Main.Lens leaveEnterPair :: Lens' (MonomerCtx s e) Bool Source # |
class HasMainModel s a | s -> a where Source #
Instances
HasMainModel (MonomerCtx s e) s Source # | |
Defined in Monomer.Main.Lens mainModel :: Lens' (MonomerCtx s e) s Source # |
class HasOverlayWidgetId s a | s -> a where Source #
overlayWidgetId :: Lens' s a Source #
Instances
HasOverlayWidgetId (MonomerCtx s e) (Maybe WidgetId) Source # | |
Defined in Monomer.Main.Lens overlayWidgetId :: Lens' (MonomerCtx s e) (Maybe WidgetId) Source # |
class HasRenderChannel s a | s -> a where Source #
renderChannel :: Lens' s a Source #
Instances
HasRenderChannel (MonomerCtx s e) (TChan (RenderMsg s e)) Source # | |
Defined in Monomer.Main.Lens renderChannel :: Lens' (MonomerCtx s e) (TChan (RenderMsg s e)) Source # |
class HasRenderRequested s a | s -> a where Source #
renderRequested :: Lens' s a Source #
Instances
HasRenderRequested (MonomerCtx s e) Bool Source # | |
Defined in Monomer.Main.Lens renderRequested :: Lens' (MonomerCtx s e) Bool Source # |
class HasRenderSchedule s a | s -> a where Source #
renderSchedule :: Lens' s a Source #
Instances
HasRenderSchedule (MonomerCtx s e) (Map WidgetId RenderSchedule) Source # | |
Defined in Monomer.Main.Lens renderSchedule :: Lens' (MonomerCtx s e) (Map WidgetId RenderSchedule) Source # |
class HasResizeRequests s a | s -> a where Source #
resizeRequests :: Lens' s a Source #
Instances
HasResizeRequests (MonomerCtx s e) (Seq WidgetId) Source # | |
Defined in Monomer.Main.Lens resizeRequests :: Lens' (MonomerCtx s e) (Seq WidgetId) Source # |
class HasWidgetPaths s a | s -> a where Source #
widgetPaths :: Lens' s a Source #
Instances
HasWidgetPaths (MonomerCtx s e) (Map WidgetId Path) Source # | |
Defined in Monomer.Main.Lens widgetPaths :: Lens' (MonomerCtx s e) (Map WidgetId Path) Source # |
class HasWidgetTasks s a | s -> a where Source #
widgetTasks :: Lens' s a Source #
Instances
HasWidgetTasks (MonomerCtx s e) (Seq WidgetTask) Source # | |
Defined in Monomer.Main.Lens widgetTasks :: Lens' (MonomerCtx s e) (Seq WidgetTask) Source # |
class HasWindow s a | s -> a where Source #
Instances
HasWindow (MonomerCtx s e) Window Source # | |
Defined in Monomer.Main.Lens |
class HasDragData s a | s -> a where Source #
Instances
class HasMs s a | s -> a where Source #
Instances
HasMs RenderSchedule Int Source # | |
Defined in Monomer.Main.Lens |
class HasRepeat s a | s -> a where Source #
Instances
HasRepeat RenderSchedule (Maybe Int) Source # | |
Defined in Monomer.Main.Lens |
class HasStart s a | s -> a where Source #
Instances
HasStart RenderSchedule Int Source # | |
Defined in Monomer.Main.Lens |
Orphan instances
HasWidgetId DragAction WidgetId Source # | |
HasWidgetId RenderSchedule WidgetId Source # | |
HasTheme (AppConfig e) (Maybe Theme) Source # | |
HasMainButton (AppConfig e) (Maybe Button) Source # | |
HasContextButton (AppConfig e) (Maybe Button) Source # | |
HasWindowSize (MonomerCtx s e) Size Source # | |
windowSize :: Lens' (MonomerCtx s e) Size Source # | |
HasInputStatus (MonomerCtx s e) InputStatus Source # | |
inputStatus :: Lens' (MonomerCtx s e) InputStatus Source # | |
HasDpr (MonomerCtx s e) Double Source # | |
HasMainBtnPress (MonomerCtx s e) (Maybe (Path, Point)) Source # | |
mainBtnPress :: Lens' (MonomerCtx s e) (Maybe (Path, Point)) Source # |