Safe Haskell | Safe-Infered |
---|
- data UI
- redisplay :: SF (Event UI) (Event ())
- reshaped :: SF (Event UI) (Event Size)
- windowSize :: SF (Event UI) Size
- mousePosition :: SF (Event UI) Position
- simpleMousePosition :: Fractional a => SF (Event UI) (Vector2 a)
- keyAction :: SF (Event UI) (Event (KeyState, Either Char SpecialKey))
- mouseButtonAction :: SF (Event UI) (Event (KeyState, MouseButton))
- modifiers :: SF (Event UI) (Event Modifiers)
- keyPressed :: SF (Event UI) (Event (Either Char SpecialKey))
- crossed :: SF (Event UI) (Event Crossing)
Documentation
simpleMousePosition :: Fractional a => SF (Event UI) (Vector2 a)Source
Latest mouse position in window with simple coord transform (i.e. unit)
mouseButtonAction :: SF (Event UI) (Event (KeyState, MouseButton))Source
Mouse buttons action events
modifiers :: SF (Event UI) (Event Modifiers)Source
State of modifiers associated with keyboard/mouse event
keyPressed :: SF (Event UI) (Event (Either Char SpecialKey))Source
Key press events