|
FRP.Reactive.GLUT.Adapter | Stability | experimental | Maintainer | conal@conal.net |
|
|
|
Description |
Connect Reactive + GLUT
|
|
Synopsis |
|
adaptSimple :: String -> Sink (UI -> Behavior Action) | | adapt :: Sink (UI -> Behavior Action) | | simpleInit :: String -> IO () | | Action | | Sink | | data UI = UI {} | | | | | | SpecialKey (KeyF1, KeyF2, KeyF3, KeyF4, KeyF5, KeyF6, KeyF7, KeyF8, KeyF9, KeyF10, KeyF11, KeyF12, KeyLeft, KeyUp, KeyRight, KeyDown, KeyPageUp, KeyPageDown, KeyHome, KeyEnd, KeyInsert) | | keyPressed :: UI -> Event Key | | uiIntegral :: (VectorSpace v, Scalar v ~ TimeT) => (UI -> Behavior v) -> UI -> Behavior v |
|
|
Documentation |
|
|
Adapter to connect FRP.Reactive with GLUT. Uses given window
title and a simple canned initialization. Or do your own
initialization and then invoke adapt.
|
|
|
Adapter to connect FRP.Reactive with GLUT. Assumes that GL/GLUT
have been initialized as desired.
|
|
|
Simple initialization for GL graphics
|
|
Action |
|
Sink |
|
|
Simple UI type.
| Constructors | |
|
|
|
Constructors | | Instances | |
|
|
|
Key pressed
| Constructors | | Instances | |
|
|
SpecialKey (KeyF1, KeyF2, KeyF3, KeyF4, KeyF5, KeyF6, KeyF7, KeyF8, KeyF9, KeyF10, KeyF11, KeyF12, KeyLeft, KeyUp, KeyRight, KeyDown, KeyPageUp, KeyPageDown, KeyHome, KeyEnd, KeyInsert) |
|
|
Key press events.
|
|
|
Integral tracking frame sampling
|
|
Produced by Haddock version 2.4.2 |