gloss -package:gloss
Wrapper library to write
gloss Gloss applications in Rhine.
A pure Rhine app with
gloss backend must use the
GlossClock or
GlossCombinedClock (from
Single and
Combined, respectively), since the
gloss API only
offers callbacks. In order to run such a reactive program, you have to
use
flowGloss.
A more flexible alternative, at the cost of introducing
IO
concurrency, is the
IO wrapper. There, you can combine the
gloss clocks with arbitrary other
IO clocks.
Gloss picture data types and rendering functions.
Gloss picture data types and rendering functions. These functions
don't do any window management. If you want gloss to setup your window
as well then use the plain gloss package.
Not on Stackage, so not searched.
Parallel rendering of raster images.
Not on Stackage, so not searched.
Load any image supported by Juicy.Pixels in your gloss application
Not on Stackage, so not searched.
Extras to interface Gloss and Accelerate
Select the relevant events by converting them to
Just a, and
the irrelevant ones to
Nothing.
Stores the time passed since the last tick
Stores all
Events that arrived since the last tick
Write
True here to stop the gloss thread
Will create a handle for communication with the gloss thread, and
start gloss.
Stores the next
Picture to be painted
Given a cell in the gloss monad
PictureM, start the gloss
backend and connect the cell to it.
This introduces
Handles containing the gloss background thread,
which need to be taken care of by calling
runHandlingState or a
similar function.
The resulting cell never blocks, but returns
Nothing if there
currently is no gloss tick.
Data structures and algorithms for working with 2D graphics.
Data structures and algorithms for working with 2D graphics.
Not on Stackage, so not searched.
An Interface for gloss in terms of a reactive-banana Behavior.
Not on Stackage, so not searched.
Display images in Gloss using libdevil for decoding