lui-0.0.5: Purely FunctionaL User InterfaceSource codeContentsIndex
Graphics.UI.LUI.Widget
Documentation
data DrawInfo Source
Constructors
DrawInfo
diHasFocus :: Bool
show/hide Instances
data WidgetFuncs model Source
Constructors
WidgetFuncs
widgetImage :: DrawInfo -> Image
widgetSize :: DrawInfo -> Vector2 Int
widgetGetKeymap :: Maybe (ActionHandlers model)
data KeyStatus Source
Constructors
KeyDown
KeyUp
show/hide Instances
type Widget model = model -> WidgetFuncs modelSource
type New model mutable = Accessor model mutable -> Widget modelSource
type KeyAction = (KeyStatus, KeyGroup)Source
type Handler model = (String, ModKey -> model)Source
type ActionHandlers model = Map KeyAction (Handler model)Source
Produced by Haddock version 2.4.2