Slider (of IconItem)

class Slider

Defined in Slider.sc.

This is used for slider controls in the GUI, such as a volume slider or game speed slider.

class diagram

Properties

Inherited from IconItem:

Property Description
view  
loop  
cel  
nsLeft  
nsTop  
nsRight  
nsBottom  
state  
cursor  
type  
message  
modifiers  
signal  
maskView  
maskLoop  
maskCel  
highlightColor  
lowlightColor  
noun  
modNum  
helpVerb  
name  

Defined in Slider:

Property Description
sliderView  
sliderLoop  
sliderCel  
sTop  
sLeft  
sRight  
maxY  
minY  
underBits  
yStep  
theObj  
selector  
bottomValue  
topValue  

Methods

doit(sendParams)
show([left top])
Parameters:
  • left (number) – Optional parameter to set left position of slider.
  • top (number) – Optional parameter to set top position of slider.
select(fSelect)
highlight()
advance()
retreat()
move(delta passValue)
valueToPosn(theValue)
posnToValue(position)