| Copyright | (c) Fumiaki Kinoshita 2014 |
|---|---|
| License | BSD3 |
| Maintainer | Fumiaki Kinoshita <fumiexcel@gmail.com> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Call.Component
Description
Documentation
Methods
cursorEvent :: Vec2 -> f () Source
scrollEvent :: Vec2 -> f () Source
mouseButtonEvent :: Int -> Bool -> f () Source
Instances
| Mouse MouseEvent | |
| Mouse e => Mouse (AccessT s e) |
Methods
pullGraphic :: Time -> e (Picture ()) Source
Instances
| Graphic PullGraphic | |
| Graphic e => Graphic (AccessT s e) |
data MouseEvent a Source
Constructors
| CursorEvent !Vec2 a | |
| ScrollEvent !Vec2 a | |
| MouseButtonEvent !Int !Bool a |
Instances