Go to the first, previous, next, last section, table of contents.
slider axis
-
creates a horisontal or vertical slider component. The slider returns a
Slider handle that will report the position of the thumb between
minimum and maximum value of the sliding area as a fraction.
slider2D
-
create a slider that can be moved in two dimensional space. Returns a
handle that reports the position of the thumb in the normalised 2D space
(0,0)..(1.0,1.0).
mkSlider ax dh
-
identical to slider, creating a one dimensional slider, but
parameterised on the sliding thumb to use.
mkSlider2D dh
-
offers same generalisation as mkSlider, parameterised over
the thumb to use in the two dimensional case.
getSlider slider
-
returns the value of the slider by sampling (i.e., non-blocking)
its current value.
waitSlider slider
-
block until the Slider thumb have been picked up and dropped at a
new position. Returns the value of slider at its new position.
waitSliderMovement slider
-
wait until the slider thumb next moves. Returns a pair containing its
new value and a Bool indicating if the thumb is still in dragging
mode.
setSlider slider v
-
change the current value of the Slider. The slider thumb will move
to a position that corresponds to the new value.
resizeThumb slider frac
-
set the proportion of the thumb size to the size of the overall sliding
area. For the two dimensional slider, the thumb will be uniformly
resized in both X and Y directions.
incSlider slider delta
-
increment the current value of the slider. Value has to be a be Num
instance.
decSlider slider delta
-
same as above, reverse direction.
mapSlider f g slider
-
return a new `view' of a Slider, changing the values the Slider
will report.
getSliderGauge slider
-
return the Gauge that underlies it all.
getSliderSize slider
-
returns size of the sliding area.
getThumbBBox slider
-
returns extent of thumb.
Go to the first, previous, next, last section, table of contents.