gloss-1.10.1.1: Painless 2D vector graphics, animations and simulations.

Safe HaskellNone
LanguageHaskell98

Graphics.Gloss.Data.Controller

Synopsis

Documentation

data Controller Source

Functions to asynchronously control a Gloss display.

Constructors

Controller 

Fields

controllerSetRedraw :: IO ()

Indicate that we want the picture to be redrawn.

controllerModifyViewPort :: (ViewPort -> IO ViewPort) -> IO ()

Modify the current viewport, also indicating that it should be redrawn.