¤ hPotF, vPotF, et al

Types

hPotF :: F PotRequest PotState
vPotF :: F PotRequest PotState
data PotRequest = ResizePot Int Int
                | MovePot Int
                | PotMkVisible Int Int (Maybe Alignment)
                | PotInput (ModState, KeySym)

type PotState = (Int, Int, Int)

Description

Horizontal and vertical scroll bars.

The state of a scroll bar is described by a triple (pos,vis,tot), where pos is the first visible unit, vis is the number of visible units and tot is the total number of units.

Input

requests to change the state of the scroll bar.

Output

new state of the scroll bar whenever the user moves it.

See Also

hPotF'‚ scrollF

Bugs

These are likely to change, and should prabably not be used directly outside the fudget library.