Moe-0.1: A FRP library based on signal functions.
FRP.MoeGLUT
type Time = IntSource
type Input = Maybe (Key, KeyState, Modifiers, Position)Source
type Prog b = SF Input bSource
type Handle b = IORef (Prog b, Time, b)Source
timer :: Handle b -> Int -> (b -> IO ()) -> IdleCallbackSource
keyMouse :: Handle b -> KeyboardMouseCallbackSource
defaultReshape :: ReshapeCallbackSource
data DisplaySetup Source
Constructors
Fields
startProg :: DisplaySetup -> Int -> Prog b -> b -> (b -> IO ()) -> IO ()Source
module Graphics.UI.GLUT