monomer-1.0.0.1: A GUI library for writing native Haskell applications.
Copyright(c) 2018 Francisco Vallarino
LicenseBSD-3-Clause (see the LICENSE file)
Maintainerfjvallarino@gmail.com
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Monomer.Event.Lens

Description

Lenses for the Event types.

Documentation

class HasButtons s a | s -> a where Source #

Methods

buttons :: Lens' s a Source #

Instances

Instances details
HasButtons InputStatus (Map Button ButtonState) Source # 
Instance details

Defined in Monomer.Event.Lens

class HasKeyMod s a | s -> a where Source #

Methods

keyMod :: Lens' s a Source #

Instances

Instances details
HasKeyMod InputStatus KeyMod Source # 
Instance details

Defined in Monomer.Event.Lens

class HasKeys s a | s -> a where Source #

Methods

keys :: Lens' s a Source #

Instances

Instances details
HasKeys InputStatus (Map KeyCode KeyStatus) Source # 
Instance details

Defined in Monomer.Event.Lens

class HasMousePos s a | s -> a where Source #

Methods

mousePos :: Lens' s a Source #

Instances

Instances details
HasMousePos InputStatus Point Source # 
Instance details

Defined in Monomer.Event.Lens

class HasMousePosPrev s a | s -> a where Source #

Methods

mousePosPrev :: Lens' s a Source #

Instances

Instances details
HasMousePosPrev InputStatus Point Source # 
Instance details

Defined in Monomer.Event.Lens

class HasAltGr s a | s -> a where Source #

Methods

altGr :: Lens' s a Source #

Instances

Instances details
HasAltGr KeyMod Bool Source # 
Instance details

Defined in Monomer.Event.Lens

class HasCapsLock s a | s -> a where Source #

Methods

capsLock :: Lens' s a Source #

Instances

Instances details
HasCapsLock KeyMod Bool Source # 
Instance details

Defined in Monomer.Event.Lens

class HasLeftAlt s a | s -> a where Source #

Methods

leftAlt :: Lens' s a Source #

Instances

Instances details
HasLeftAlt KeyMod Bool Source # 
Instance details

Defined in Monomer.Event.Lens

class HasLeftCtrl s a | s -> a where Source #

Methods

leftCtrl :: Lens' s a Source #

Instances

Instances details
HasLeftCtrl KeyMod Bool Source # 
Instance details

Defined in Monomer.Event.Lens

class HasLeftGUI s a | s -> a where Source #

Methods

leftGUI :: Lens' s a Source #

Instances

Instances details
HasLeftGUI KeyMod Bool Source # 
Instance details

Defined in Monomer.Event.Lens

class HasLeftShift s a | s -> a where Source #

Methods

leftShift :: Lens' s a Source #

Instances

Instances details
HasLeftShift KeyMod Bool Source # 
Instance details

Defined in Monomer.Event.Lens

class HasNumLock s a | s -> a where Source #

Methods

numLock :: Lens' s a Source #

Instances

Instances details
HasNumLock KeyMod Bool Source # 
Instance details

Defined in Monomer.Event.Lens

class HasRightAlt s a | s -> a where Source #

Methods

rightAlt :: Lens' s a Source #

Instances

Instances details
HasRightAlt KeyMod Bool Source # 
Instance details

Defined in Monomer.Event.Lens

class HasRightCtrl s a | s -> a where Source #

Methods

rightCtrl :: Lens' s a Source #

Instances

Instances details
HasRightCtrl KeyMod Bool Source # 
Instance details

Defined in Monomer.Event.Lens

class HasRightGUI s a | s -> a where Source #

Methods

rightGUI :: Lens' s a Source #

Instances

Instances details
HasRightGUI KeyMod Bool Source # 
Instance details

Defined in Monomer.Event.Lens

class HasRightShift s a | s -> a where Source #

Methods

rightShift :: Lens' s a Source #

Instances

Instances details
HasRightShift KeyMod Bool Source # 
Instance details

Defined in Monomer.Event.Lens