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

Creating a Level

* level :: Enum a => (a,a) -> a -> Axis -> Component (Level a,DisplayHandle)
create a horisontal or vertical Level indicator displaying a filled bar representing a value within the interval [start..end]. Only intervals for Enum instances are allowed.

* mkLevel

mkLevel :: Enum a
        => (a,a)
        -> a
        -> Axis
        -> ((a,a) -> Axis -> a -> ResizeablePicture)
        -> Component (Level a, DisplayHandle)

same as level, but parameterised over the function for map a Level value to a Picture to display.

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