hPotF :: Maybe Point -> F PotRequest (Int, Int, Int) vPotF :: Maybe Point -> F PotRequest (Int, Int, Int) data PotRequest = ResizePot Int Int | MovePot Int | PotMkVisible Int Int | PotInput (ModState, KeySym)
hPotF optsize
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.
optsize :: Maybe Point