@hackage gloss-relative0.1.3.0
Painless relative-sized pictures in Gloss.
Categories
License
BSD-3-Clause
Maintainer
hpacheco@di.uminho.pt
Links
Versions
Installation
Dependencies (7)
Dependents (0)
Gloss Relative
This library is an extension to Gloss to reduce some of the pain of designing graphics with sizes relative to the screen dimensions.
Usage
This package is defined as a replacement with batteries for the standard:
import Graphics.Gloss
Just replace with the new import to get the original Gloss functionality plus the 'Frame' abstraction.
import Graphics.Gloss.Relative
Examples
You can play with a few examples that illustrate how the library can be used:
cabal run gloss-relative-checkers
cabal run gloss-relative-button
cabal run gloss-relative-drag