¤ hPotF, vPotF, et al
hPotF :: F PotRequest PotState
vPotF :: F PotRequest PotState
data PotRequest = ResizePot Int Int
| MovePot Int
| PotMkVisible Int Int (Maybe Alignment)
| PotInput (ModState, KeySym)
Horizontal and vertical scroll bars.
The state of a scroll bar is described by a triple
pos is the first visible unit,
vis is the number of visible units
tot is the total number of units.
changes the state of the scroll bar.
new state of the scroll bar whenever the user moves it.
optsize :: ??
- Optional initial size of the scrool bar. This can be
used to set the width (height) of a vertical (horizontal)
These are likely to change, and should prabably not be used directly
outside the fudget library.