[Haskell-beginners] graphics.gloss errors

Chaddaï Fouché chaddai.fouche at gmail.com
Wed Jun 6 19:34:26 CEST 2012


On Tue, Jun 5, 2012 at 10:36 PM, Gregory Guthrie <guthrie at mum.edu> wrote:
> Apparently I needed to upgrade my examples, the API seems to have changed across versions.
>

Right, since the fullscreen mode was introduced, the API is "display
displayMode backgroundColor picture" where displayMode is Window or
Fullscreen (with relevant title, size and position details). So :

> display (Window "My Window" (200, 200) (10, 10)) white (Circle 80)

-- 
Jedaï



More information about the Beginners mailing list