Copyright | (c) Sebastiaan la Fleur, 2014 |
---|---|
License | BSD3 |
Maintainer | sebastiaan.la.fleur@gmail.com |
Stability | experimental |
Portability | All |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
All common types throughout the EventLoop module
Documentation
type Pos = (Float, Float) Source
Type to express a position on the screen. It uses the format (x,y). As Canvas is used in the example implementation, remember that the lefttop corner is (0,0) and the leftbottom corner is (0, height of screen).