Go to the first, previous, next, last section, table of contents.

Level operators

* setLevel :: Level a -> a -> IO a
change the Level value, causing the Picture representation to be altered, if needed.

* getLevel :: Level a -> IO a
return current Level value.

* setLevelCoord :: Level a -> Coord -> IO ()
convert a coordinate within the Level display into its corresponding value within the the Level's interval.

* incLevel :: Enum a => Level a -> IO a
* decLevel :: Enum a => Level a -> IO a
move the current level up or down by one.

* setLevelInterval :: Enum a => Level a -> (a,a) -> IO ()
* getLevelInterval :: Enum a => Level a -> IO (a,a)
query and change the current interval. If the interval changes such that the current value falls outside, the value will be set to the closest boundary value.
* getLevelGauge :: Level a -> Gauge a
return a Gauge view of the Level.

Go to the first, previous, next, last section, table of contents.